Fri, 20 Dec 2013 04:05:36 +0200
- bumped max amount of recent files from 5 to 10
changelog.txt | file | annotate | diff | comparison | revisions | |
src/document.cc | file | annotate | diff | comparison | revisions |
--- 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
--- 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