Changeset 23798


Ignore:
Timestamp:
09/20/13 10:12:50 (10 years ago)
Author:
nit
Message:

[titan] change datesort to mtime

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/filelist.h

    r23794 r23798  
    114114       
    115115        rpath = realpath(tmpstr, NULL);
    116         t1 = getfiletime(rpath, 2);
     116        t1 = getfiletime(rpath, 1);
    117117        free(tmpstr); tmpstr = NULL;
    118118        free(rpath); rpath = NULL;
     
    122122       
    123123        rpath = realpath(tmpstr, NULL);
    124         t2 = getfiletime(rpath, 2);
     124        t2 = getfiletime(rpath, 1);
    125125        free(tmpstr); tmpstr = NULL;
    126126        free(rpath); rpath = NULL;
     
    141141       
    142142        rpath = realpath(tmpstr, NULL);
    143         t1 = getfiletime(rpath, 2);
     143        t1 = getfiletime(rpath, 1);
    144144        free(tmpstr); tmpstr = NULL;
    145145        free(rpath); rpath = NULL;
     
    149149       
    150150        rpath = realpath(tmpstr, NULL);
    151         t2 = getfiletime(rpath, 2);
     151        t2 = getfiletime(rpath, 1);
    152152        free(tmpstr); tmpstr = NULL;
    153153        free(rpath); rpath = NULL;
     
    438438                                        rpath = realpath(tmpstr, NULL);
    439439                                        if(view == 4) child->filelist->size = getfilesize(rpath);
    440                                         else if(view == 5) child->filelist->date = getfiletime(rpath, 2);
     440                                        else if(view == 5) child->filelist->date = getfiletime(rpath, 1);
    441441                                        free(rpath); rpath = NULL;
    442442                                        free(tmpstr); tmpstr = NULL;
     
    677677                                                rpath = realpath(tmpstr, NULL);
    678678                                                if(view == 4) child->filelist->size = getfilesize(rpath);
    679                                                 else if(view == 5) child->filelist->date = getfiletime(rpath, 2);
     679                                                else if(view == 5) child->filelist->date = getfiletime(rpath, 1);
    680680                                                free(rpath); rpath = NULL;
    681681                                                free(tmpstr); tmpstr = NULL;
Note: See TracChangeset for help on using the changeset viewer.