Changeset 39567


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

clenup and add debug in play

Location:
titan/plugins/tithek
Files:
2 edited

Legend:

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

    r39566 r39567  
    25042504                }
    25052505
    2506 printf("listbox->aktpage=%d\n", listbox->aktpage);
    2507 printf("listbox->aktline=%d\n", listbox->aktline);
    2508 printf("listbox->gridcol=%d\n", listbox->gridcol);
    2509 
    25102506//              if(ostrcmp(title, _("Tithek - Mainmenu - Favoriten")) == 0)
    25112507                if(ostrstr(title, _("Tithek - Mainmenu - Favoriten")) != NULL)
  • 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.