Revision: 202
http://modplug.svn.sourceforge.net/modplug/?rev=202&view=rev
Author: relabsoluness
Date: 2008-02-23 04:46:41 -0800 (Sat, 23 Feb 2008)
Log Message:
-----------
Bug fixing...
. Mixmode-tooltip in general tab was in some cases shown on unrelated controls (http://lpchip.com/modplug/viewtopic.php?t=2176)
. Pitch/tempo lock was lost on first instrument when opening instrument tab for the first time. (http://lpchip.com/modplug/viewtopic.php?t=1823)
. Verifying buffer length-setting read from INI-file to prevent the impression that it can be set < 10 (http://lpchip.com/modplug/viewtopic.php?t=992)
. Pattern effectdata paste was broken for MOD (probably since .46) (http://lpchip.com/modplug/viewtopic.php?t=1938)
. Apply button should now be activated when changing the state of the new checkboxes in MIDI setup.
/ When loading plug information at startup, checking whether the plug files exist. (http://lpchip.com/modplug/viewtopic.php?t=1367)
. Continuous pattern navigation fixes(http://lpchip.com/modplug/viewtopic.php?t=1960, http://lpchip.com/modplug/viewtopic.php?t=1959)
. Keyboard split related fix (http://lpchip.com/modplug/viewtopic.php?t=1887)
. Releasenode information should now be included when copying instrument envelopes (http://lpchip.com/modplug/viewtopic.php?t=1780)
. Potential memory corruption bug when loading VSTs
(Thanks to Markus for the report and patch; the patch was applied with some modifications)
- Removed buggy rearrange samples (http://lpchip.com/modplug/viewtopic.php?t=2148)
Modified Paths:
--------------
trunk/OpenMPT/mptrack/misc_util.cpp
Modified: trunk/OpenMPT/mptrack/misc_util.cpp
===================================================================
--- trunk/OpenMPT/mptrack/misc_util.cpp 2008-02-11 22:26:06 UTC (rev 201)
+++ trunk/OpenMPT/mptrack/misc_util.cpp 2008-02-23 12:46:41 UTC (rev 202)
@@ -1,2 +1,17 @@
#include "stdafx.h"
#include "misc_util.h"
+
+bool DoesFileExist(const char* const filepath)
+//--------------------------------------------
+{
+ char path_buffer[_MAX_PATH];
+ char drive[_MAX_DRIVE];
+ char dir[_MAX_DIR];
+ char fname[_MAX_FNAME];
+ char ext[_MAX_EXT];
+
+ LPTSTR* p = 0;
+ _splitpath(filepath, drive, dir, fname, ext);
+ _makepath(path_buffer, drive, dir, NULL, NULL);
+ return (SearchPath(path_buffer, fname, ext, 0, 0, p) != 0);
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|