(svn r6098) -Fix 6097: stupid me.... CHARS! Not strings, for strrchr :(
authortruelight
Thu, 24 Aug 2006 15:39:17 +0000
changeset 4373 812b7dc64cf0
parent 4372 4d5e8f9d6f31
child 4374 f155d5943625
(svn r6098) -Fix 6097: stupid me.... CHARS! Not strings, for strrchr :(
strgen/strgen.c
--- a/strgen/strgen.c	Thu Aug 24 15:36:25 2006 +0000
+++ b/strgen/strgen.c	Thu Aug 24 15:39:17 2006 +0000
@@ -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