changeset 4373:a434ebf0cc6c draft

(svn r6098) -Fix 6097: stupid me.... CHARS! Not strings, for strrchr :(
author truelight <truelight@openttd.org>
date Thu, 24 Aug 2006 15:39:17 +0000
parents 4987548de849
children 7d69291bcee6
files strgen/strgen.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/strgen/strgen.c
+++ b/strgen/strgen.c
@@ -1313,7 +1313,7 @@
 		/* get the targetfile, strip any directories and append to destination path */
 #if defined(__MINGW32__) || defined (__CYGWIN__)
 		/* Under mingw32 and cygwin, we enter / via the Makefile, not the expected \ */
-		r = strrchr(argv[1], "/");
+		r = strrchr(argv[1], '/');
 #else
 		r = strrchr(argv[1], PATHSEPCHAR);
 #endif