diff options
Diffstat (limited to 'gtk2_ardour/session_dialog.h')
-rw-r--r-- | gtk2_ardour/session_dialog.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/session_dialog.h b/gtk2_ardour/session_dialog.h index ef3717b778..7b79b0bff6 100644 --- a/gtk2_ardour/session_dialog.h +++ b/gtk2_ardour/session_dialog.h @@ -102,9 +102,9 @@ class SessionDialog : public ArdourDialog { void setup_existing_session_page (); - struct RecentSessionsSorter { - bool operator() (std::pair<std::string,std::string> a, std::pair<std::string,std::string> b) const { - return ARDOUR::cmp_nocase(a.first, b.first) == -1; + struct RecentSessionsTimeSorter { + bool operator() (std::pair<int64_t,std::string> a, std::pair<int64_t,std::string> b) const { + return a.first > b.first; } }; |