summaryrefslogtreecommitdiff
path: root/src/music
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-03-14 18:31:37 +0000
committerglx <glx@openttd.org>2008-03-14 18:31:37 +0000
commitc1d2468a2b9eae8f67844ac4945311b54f38cdf1 (patch)
tree747996be011201664c6e594283e6768216fae75a /src/music
parent1415de28001557f0c0d0750e635cb318fac74844 (diff)
downloadopenttd-c1d2468a2b9eae8f67844ac4945311b54f38cdf1.tar.xz
(svn r12366) -Codechange: use MAX_PATH instead hardcoded value
Diffstat (limited to 'src/music')
-rw-r--r--src/music/win32_m.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/music/win32_m.cpp b/src/music/win32_m.cpp
index 2310c50e2..356d33c76 100644
--- a/src/music/win32_m.cpp
+++ b/src/music/win32_m.cpp
@@ -13,7 +13,7 @@ static struct {
HANDLE wait_obj;
HANDLE thread;
UINT_PTR devid;
- char start_song[260];
+ char start_song[MAX_PATH];
} _midi;
static FMusicDriver_Win32 iFMusicDriver_Win32;