Changeset 16517


Ignore:
Timestamp:
06/12/12 22:25:34 (12 years ago)
Author:
nit
Message:

fix

Location:
titan/plugins
Files:
5 edited

Legend:

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

    r16512 r16517  
    3434struct imdbapi* getimdbapi(struct imdbapi** first, char* title, int flag, int flag1)
    3535{
    36         struct imdbapi* imdbapi = NULL;
    3736        char* tmpstr = NULL, *ret = NULL;
    3837        char* tmpsearch = NULL;
     
    210209                        if(search != NULL)
    211210                        {
    212                                 freeimdbapi(&node); node = NULL;
    213                                 node = getimdbapi(&search, 0, 0);
     211                                freeimdbapi(&node, 0); node = NULL;
     212                                node = getimdbapi(&node, search, 0, 0);
    214213                                free(search); search = NULL;
    215214                                goto start;
     
    220219        }
    221220
    222         freeimdbapi(&node); node = NULL;
     221        freeimdbapi(&node, 0); node = NULL;
    223222        setosdtransparent(getskinconfigint("osdtransparent", NULL));
    224223        status.hangtime = getconfigint("hangtime", NULL);
  • titan/plugins/keylock/keylock.c

    r16512 r16517  
    1818        char* bg = NULL;
    1919       
    20         setnodeattr(keylock, framebuffer);
     20        setnodeattr(keylock, framebuffer, 0);
    2121        bg = savescreen(keylock);
    2222        drawscreen(keylock, 0, 0);
  • titan/plugins/news/news.h

    r16512 r16517  
    130130        {
    131131
    132                 while(string_find(""", tmpstr))
    133                         tmpstr = string_replace(""", "\"", tmpstr, 1);
     132                while(ostrstr(tmpstr, """) != NULL)
     133                        tmpstr = string_replace(""", "\"", tmpstr, 1);
    134134                tmpstr = string_decode(tmpstr, 0);
    135135
  • titan/plugins/permtime/permtime.c

    r16512 r16517  
    2121        char* bg = NULL;
    2222       
    23         setnodeattr(permtime, framebuffer);
     23        setnodeattr(permtime, framebuffer, 0);
    2424        bg = savescreen(permtime);
    2525       
  • titan/plugins/tithek/tithek.h

    r16512 r16517  
    639639                tmpstr = string_resub("\": \"url=", "\", \"", tmpstr, 0);
    640640       
    641                 while(string_find(",url=", tmpstr))
     641                while(ostrstr(tmpstr, ",url=") != NULL)
    642642                        tmpstr = string_replace(",url=", "\nurl=", tmpstr, 1);
    643643       
Note: See TracChangeset for help on using the changeset viewer.