Changeset 15283


Ignore:
Timestamp:
04/16/12 01:21:38 (12 years ago)
Author:
nit
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/filelist.h

    r15281 r15283  
    574574                                                                {
    575575                                                                        //check if thumb exists
    576                                                                         char* tmpfile = ostrcat(createpath(node->input, "/"), tmpstr, 1, 0);
    577                                                                         thumbfile = checkthumb(tmpfile);
     576                                                                        thumbfile = checkthumb(node->input, tmpstr);
    578577                                                                        if(thumbfile != NULL)
    579578                                                                        {
     
    581580                                                                                tmpstr = thumbfile;
    582581                                                                        }
    583                                                                         else if(tmpfile != NULL)
    584                                                                                 addqueue(101, (void*)tmpfile, strlen(tmpfile), 0, NULL);
    585                                                                                
    586                                                                         free(tmpfile); tmpfile = NULL;
     582                                                                        else
     583                                                                                addqueue(101, (void*)node->input, strlen(node->input) + 1, (void*)tmpstr, strlen(tmpstr) + 1, 0, NULL);
    587584                                                                }
    588585                                                                changepic(child, tmpstr);
Note: See TracChangeset for help on using the changeset viewer.