diff options
author | smatz <smatz@openttd.org> | 2008-04-04 00:06:51 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-04-04 00:06:51 +0000 |
commit | 0cceb0cb3e36df03b32531222005e29fdd84fb4a (patch) | |
tree | 7185ddfb64434ca05d28d959f54aa9d50da947e6 /src/strgen/strgen.cpp | |
parent | 673055d27f2ff9b8b6acde4fb389f1bf32eced4b (diff) | |
download | openttd-0cceb0cb3e36df03b32531222005e29fdd84fb4a.tar.xz |
(svn r12557) -Cleanup: use MAX_PATH at two more places
Diffstat (limited to 'src/strgen/strgen.cpp')
-rw-r--r-- | src/strgen/strgen.cpp | 2 |
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; |