summaryrefslogtreecommitdiff
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
commitf8bae50bf5fd60d99c492ee05e847b348d79282f (patch)
tree747996be011201664c6e594283e6768216fae75a
parent9a96f896460ff877b077ff000550c8780769a407 (diff)
downloadopenttd-f8bae50bf5fd60d99c492ee05e847b348d79282f.tar.xz
(svn r12366) -Codechange: use MAX_PATH instead hardcoded value
-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;