Changeset 24431 for titan/plugins


Ignore:
Timestamp:
10/19/13 14:38:14 (10 years ago)
Author:
nit
Message:

[titan] optimize movie4k

File:
1 edited

Legend:

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

    r24430 r24431  
    254254
    255255                tmpstr1 = ostrcat(tmpstr, NULL, 0, 0);
     256               
     257                int countj = 0;
     258                if(ostrstr(tmpstr1, "&part=1") != NULL)
     259                        countj = 1;
     260                if(ostrstr(tmpstr1, "&part=2") != NULL)
     261                        countj = 2;
     262                if(ostrstr(tmpstr1, "&part=3") != NULL)
     263                        countj = 3;
     264                if(ostrstr(tmpstr1, "&part=4") != NULL)
     265                        countj = 4;
    256266
    257267                if(ostrstr(tmpstr, "links\[") == NULL)
     
    343353                                        string_tolower(pichname);
    344354                                        pichname = stringreplacecharonce(pichname, '.', '\0');
    345                                                
    346                                         int countj = 0;
    347                                         if(ostrstr(tmpstr1, "&part=1") != NULL)
    348                                                 countj = 1;
    349                                         if(ostrstr(tmpstr1, "&part=2") != NULL)
    350                                                 countj = 2;
    351                                         if(ostrstr(tmpstr1, "&part=3") != NULL)
    352                                                 countj = 3;
    353                                         if(ostrstr(tmpstr1, "&part=4") != NULL)
    354                                                 countj = 4;
    355355
    356356                                        if(id != NULL)
Note: See TracChangeset for help on using the changeset viewer.