1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 16:37:12 +01:00

Off by 1...should produce 12 entries, not 11.

This commit is contained in:
lllucius
2011-03-14 04:10:40 +00:00
parent e442c5236c
commit 93454a7c80

View File

@@ -947,7 +947,7 @@ bool AudacityApp::OnInit()
#endif
// TODO - read the number of files to store in history from preferences
mRecentFiles = new FileHistory(ID_RECENT_LAST - ID_RECENT_FIRST, ID_RECENT_CLEAR);
mRecentFiles = new FileHistory(ID_RECENT_LAST - ID_RECENT_FIRST + 1, ID_RECENT_CLEAR);
mRecentFiles->Load(*gPrefs, wxT("RecentFiles"));
//