diff options
author | Jonathan Gray | 2003-08-21 13:39:21 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-08-21 13:39:21 +0000 |
commit | ce42f4d3dd461ced69470ea70e4f840c8abfb246 (patch) | |
tree | 2cb607f30318011bcd8c5f52e20f04d88400d1b4 /common/file.cpp | |
parent | 255c7ae5ff8c8f526de349246cdaf73506a85e81 (diff) | |
download | scummvm-rg350-ce42f4d3dd461ced69470ea70e4f840c8abfb246.tar.gz scummvm-rg350-ce42f4d3dd461ced69470ea70e4f840c8abfb246.tar.bz2 scummvm-rg350-ce42f4d3dd461ced69470ea70e4f840c8abfb246.zip |
patch #791738 g++ 3.4 compile fix, from Falk Hueffner and a few minor local bits in my tree
svn-id: r9807
Diffstat (limited to 'common/file.cpp')
-rw-r--r-- | common/file.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/file.cpp b/common/file.cpp index e99ef2b8cf..78667f0c9a 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -25,9 +25,10 @@ FILE *File::fopenNoCase(const char *filename, const char *directory, const char *mode) { FILE *file; - char buf[256]; + char buf[512]; char *ptr; + assert(directory); strcpy(buf, directory); #ifdef WIN32 |