From: Pablo d'A. <da...@us...> - 2005-06-25 21:09:01
|
Update of /cvsroot/hugin/hugin/src/include/hugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23766/include/hugin Modified Files: wxPanoCommand.h Log Message: fixed sort by date order (hidden feature) Index: wxPanoCommand.h =================================================================== RCS file: /cvsroot/hugin/hugin/src/include/hugin/wxPanoCommand.h,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- wxPanoCommand.h 9 Jun 2005 21:20:25 -0000 1.25 +++ wxPanoCommand.h 25 Jun 2005 21:08:47 -0000 1.26 @@ -39,7 +39,7 @@ bool operator()(const std::string & file1, const std::string & file2) { // lets hope the operating system caches files stats. - return wxFileModificationTime(wxString(file1.c_str(),*wxConvCurrent)) > wxFileModificationTime(wxString(file2.c_str(),*wxConvCurrent)); + return wxFileModificationTime(wxString(file1.c_str(),*wxConvCurrent)) < wxFileModificationTime(wxString(file2.c_str(),*wxConvCurrent)); }; }; |