# HG changeset patch # User Santeri Piippo # Date 1387505136 -7200 # Node ID d26334c6b7fd2c73a768a0b93f0024fb6252ebb6 # Parent 59c0b57e843bd0dc19073217cbbbb90c6e855f3b - bumped max amount of recent files from 5 to 10 diff -r 59c0b57e843b -r d26334c6b7fd changelog.txt --- a/changelog.txt Fri Dec 20 04:03:48 2013 +0200 +++ b/changelog.txt Fri Dec 20 04:05:36 2013 +0200 @@ -36,6 +36,7 @@ - Added support for logoed studs, this should satisfy Steffen. :p - Added support for '0 BFC CLIP' and '0 BFC NOCLIP' and added auto-correction from errorneous MLCAD syntax ('0 BFC CERTIFY CLIP'). +- Increased the amount of recent file slots from 5 to 10. - The viewport now uses 7 sets of rotation/pan/zoom values, one for each camera. Changing these values in one camera no longer affects other cameras. - When an external program is attempted to be used without a binary path defined, one will be asked diff -r 59c0b57e843b -r d26334c6b7fd src/document.cc --- a/src/document.cc Fri Dec 20 04:03:48 2013 +0200 +++ b/src/document.cc Fri Dec 20 04:05:36 2013 +0200 @@ -41,7 +41,7 @@ extern_cfg (Bool, gl_logostuds); static bool g_loadingMainFile = false; -static const int g_MaxRecentFiles = 5; +static const int g_maxRecentFiles = 10; static bool g_aborted = false; static LDDocument* g_logoedStud = null; static LDDocument* g_logoedStud2 = null; @@ -546,7 +546,7 @@ } // If there's too many recent files, drop one out. - while (rfiles.size() > (g_MaxRecentFiles - 1)) + while (rfiles.size() > (g_maxRecentFiles - 1)) rfiles.removeAt (0); // Add the file