diff options
Diffstat (limited to 'common/file.cpp')
-rw-r--r-- | common/file.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/file.cpp b/common/file.cpp index 600f6cf8c4..a7a738b8c1 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -32,7 +32,10 @@ FILE *File::fopenNoCase(const char *filename, const char *directory, const char #ifdef __MORPHOS__ if (buf[strlen(buf)-1] != ':' && buf[strlen(buf)-1] != '/') #endif - strcat(buf, "/"); + +#ifndef __GP32__ + strcat(buf, "/"); +#endif } strcat(buf, filename); |