Ignore:
Timestamp:
Dec 31, 2016, 6:19:31 PM (3 years ago)
Author:
obi
Message:

clenup and add debug in play

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/tithek/tithek_global.h

    r39566 r39567  
    460460}
    461461
    462 int screeninfolistbox(struct skin* grid, struct skin* listbox,struct skin* countlabel, char* title, char* titheklink, int* pagecount, int* tithekexit, int* oaktpage, int* oaktline, int* ogridcol, int flag, int cflag)
    463 {
    464         char* tmpstr = NULL, *tmpstr1 = NULL, *tmpstr2 = NULL;
    465 
    466         *oaktpage = listbox->aktpage;
    467         *oaktline = listbox->aktline;
    468         *ogridcol = listbox->gridcol;
    469         tmpstr = ostrcat(((struct tithek*)listbox->select->handle)->link, NULL, 0, 0);
    470 
    471         if(title != NULL)
    472                 tmpstr1 = ostrcat(title, " - ", 0, 0);
    473         else
    474                 tmpstr1 = ostrcat(((struct tithek*)listbox->select->handle)->menutitle, " - ", 0, 0);   
    475        
    476         tmpstr2 = ostrcat(tmpstr1, ((struct tithek*)listbox->select->handle)->title, 1, 0);
    477         screentithekplay(tmpstr, tmpstr2, flag);
    478         free(tmpstr); tmpstr = NULL;
    479         free(tmpstr2); tmpstr2 = NULL;
    480 
    481         *pagecount = createtithekplay(titheklink, grid, listbox, countlabel, cflag);
    482 //      if(pagecount == 0 || tithekexit == 1) break;
    483         if(*pagecount == 0 || *tithekexit == 1) return 0;
    484        
    485         listbox->aktpage = *oaktpage;
    486         listbox->aktline = *oaktline;
    487         listbox->gridcol = *ogridcol;
    488         addscreenrc(grid, listbox);
    489 
    490         return 1;
    491 }
    492 
    493462int all_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag)
    494463{
Note: See TracChangeset for help on using the changeset viewer.