From 81ac7cc8f8b802c2078a41c2ac2ac2fadf5ae5bd Mon Sep 17 00:00:00 2001 From: Joost Peters Date: Thu, 10 Apr 2003 13:44:50 +0000 Subject: fixed GP32 port svn-id: r6958 --- common/file.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'common') 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); -- cgit v1.2.3