summaryrefslogtreecommitdiff
path: root/src/strgen
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-04-04 00:06:51 +0000
committersmatz <smatz@openttd.org>2008-04-04 00:06:51 +0000
commit110584808dbab13bb8ed7f4e89578ee051d9d1ee (patch)
tree7185ddfb64434ca05d28d959f54aa9d50da947e6 /src/strgen
parentc745ca21a3558f8f587296b3a88f755363965baa (diff)
downloadopenttd-110584808dbab13bb8ed7f4e89578ee051d9d1ee.tar.xz
(svn r12557) -Cleanup: use MAX_PATH at two more places
Diffstat (limited to 'src/strgen')
-rw-r--r--src/strgen/strgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strgen/strgen.cpp b/src/strgen/strgen.cpp
index d05f0e796..7ace1f1ea 100644
--- a/src/strgen/strgen.cpp
+++ b/src/strgen/strgen.cpp
@@ -1287,7 +1287,7 @@ static inline char *replace_pathsep(char *s) { return s; }
int CDECL main(int argc, char* argv[])
{
- char pathbuf[256];
+ char pathbuf[MAX_PATH];
const char *src_dir = ".";
const char *dest_dir = NULL;