From: <re...@us...> - 2007-05-07 13:39:03
|
Revision: 181 http://svn.sourceforge.net/modplug/?rev=181&view=rev Author: rewbs Date: 2007-05-07 06:34:49 -0700 (Mon, 07 May 2007) Log Message: ----------- . <rewbs> Fix odd window position on very first startup (before mptrack.ini is created). Modified Paths: -------------- trunk/OpenMPT/mptrack/MainFrm.cpp trunk/OpenMPT/mptrack/Mptrack.cpp trunk/OpenMPT/mptrack/bin/mptrack.exe trunk/OpenMPT/packageTemplate/History.txt Modified: trunk/OpenMPT/mptrack/MainFrm.cpp =================================================================== --- trunk/OpenMPT/mptrack/MainFrm.cpp 2007-05-07 11:41:47 UTC (rev 180) +++ trunk/OpenMPT/mptrack/MainFrm.cpp 2007-05-07 13:34:49 UTC (rev 181) @@ -2933,7 +2933,8 @@ if (bShow && !IsWindowVisible() && firstShow) { firstShow = false; WINDOWPLACEMENT wpl; - GetPrivateProfileStruct("Display", "WindowPlacement", &wpl, sizeof(WINDOWPLACEMENT), theApp.GetConfigFileName()); - SetWindowPlacement(&wpl); + if (GetPrivateProfileStruct("Display", "WindowPlacement", &wpl, sizeof(WINDOWPLACEMENT), theApp.GetConfigFileName())) { + SetWindowPlacement(&wpl); + } } } Modified: trunk/OpenMPT/mptrack/Mptrack.cpp =================================================================== --- trunk/OpenMPT/mptrack/Mptrack.cpp 2007-05-07 11:41:47 UTC (rev 180) +++ trunk/OpenMPT/mptrack/Mptrack.cpp 2007-05-07 13:34:49 UTC (rev 181) @@ -858,7 +858,7 @@ CString localVersion = CMainFrame::GetFullVersionString(); if (remoteVersion > localVersion) { CString message; - message.Format("New version available: %s. Would you like more information?", remoteVersion); + message.Format("New version available: %s (you are using %). Would you like more information?", remoteVersion, localVersion); if (AfxMessageBox(message, MB_ICONQUESTION|MB_YESNO ) == IDYES) { CString URL; URL.Format("http://openmpt.xwiki.com/xwiki/bin/view/Development/Builds?currentVersion=%s", localVersion); Modified: trunk/OpenMPT/mptrack/bin/mptrack.exe =================================================================== (Binary files differ) Modified: trunk/OpenMPT/packageTemplate/History.txt =================================================================== --- trunk/OpenMPT/packageTemplate/History.txt 2007-05-07 11:41:47 UTC (rev 180) +++ trunk/OpenMPT/packageTemplate/History.txt 2007-05-07 13:34:49 UTC (rev 181) @@ -31,6 +31,7 @@ + <rewbs> New mixmode (called 1.17RC3): bypass global preamp, force soft panning, provide explicit dB value for sample attenuation. WARNING: this mixmode is subject to change. + <rewbs> Check for updates on startup. To disable, set CheckForUpdates=0 in mptrack.ini. . <rewbs> Plugin list window remembers its position/size even on cancel. + . <rewbs> Fix odd window position on very first startup (before mptrack.ini is created). . <Relabsoluness> When opening instruments, load dialog didn't remember its previous path. . <Relabsoluness> In general tab, it was possible to give longer modname than the fileformat could save. . <Relabsoluness> Instruments associates with VSTis no longer also need to be associated to a sample in order to play. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |