From bd1a44d01173b167c341cda867058f022e1ed9f3 Mon Sep 17 00:00:00 2001 From: truelight Date: Thu, 24 Aug 2006 15:39:17 +0000 Subject: (svn r6098) -Fix 6097: stupid me.... CHARS! Not strings, for strrchr :( --- strgen/strgen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'strgen/strgen.c') diff --git a/strgen/strgen.c b/strgen/strgen.c index bd8eea1bc..6a0dbf080 100644 --- a/strgen/strgen.c +++ b/strgen/strgen.c @@ -1313,7 +1313,7 @@ int CDECL main(int argc, char* argv[]) /* 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 -- cgit v1.2.3-70-g09d2