summaryrefslogtreecommitdiff
path: root/strgen
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-08-24 15:39:17 +0000
committertruelight <truelight@openttd.org>2006-08-24 15:39:17 +0000
commit67af9da593e1a1f2242fc60bdf4a9ddbb2ac3262 (patch)
treeab5c484093d34e8bd089c30fb419df2d71b79047 /strgen
parentd2ca8c197ad883782aeddbd95912857ed6e5fbe5 (diff)
downloadopenttd-67af9da593e1a1f2242fc60bdf4a9ddbb2ac3262.tar.xz
(svn r6098) -Fix 6097: stupid me.... CHARS! Not strings, for strrchr :(
Diffstat (limited to 'strgen')
-rw-r--r--strgen/strgen.c2
1 files changed, 1 insertions, 1 deletions
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