From: <sag...@us...> - 2011-08-01 16:21:27
|
Revision: 953 http://modplug.svn.sourceforge.net/modplug/?rev=953&view=rev Author: saga-games Date: 2011-08-01 16:21:19 +0000 (Mon, 01 Aug 2011) Log Message: ----------- [New] MRU list length can now be set through a hidden INI option, MRUListLength in [Misc] (up to 15 entries) [Mod] OpenMPT: Version is now 1.20.00.02 Modified Paths: -------------- trunk/OpenMPT/mptrack/Mptrack.cpp trunk/OpenMPT/mptrack/version.h Modified: trunk/OpenMPT/mptrack/Mptrack.cpp =================================================================== --- trunk/OpenMPT/mptrack/Mptrack.cpp 2011-08-01 16:17:20 UTC (rev 952) +++ trunk/OpenMPT/mptrack/Mptrack.cpp 2011-08-01 16:21:19 UTC (rev 953) @@ -830,9 +830,10 @@ } m_pszProfileName = _tcsdup(m_szConfigFileName); + int mruListLength = GetPrivateProfileInt("Misc", "MRUListLength", 10, m_pszProfileName); + Limit(mruListLength, 0, 15); + LoadStdProfileSettings((UINT)mruListLength); // Load standard INI file options (including MRU) - LoadStdProfileSettings(10); // Load standard INI file options (including MRU) - // Register document templates m_pModTemplate = new CModDocTemplate( IDR_MODULETYPE, Modified: trunk/OpenMPT/mptrack/version.h =================================================================== --- trunk/OpenMPT/mptrack/version.h 2011-08-01 16:17:20 UTC (rev 952) +++ trunk/OpenMPT/mptrack/version.h 2011-08-01 16:21:19 UTC (rev 953) @@ -15,7 +15,7 @@ #define VER_MAJORMAJOR 1 #define VER_MAJOR 20 #define VER_MINOR 00 -#define VER_MINORMINOR 01 +#define VER_MINORMINOR 02 //Creates version number from version parts that appears in version string. //For example MAKE_VERSION_NUMERIC(1,17,02,28) gives version number of This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |