aboutsummaryrefslogtreecommitdiff
path: root/backends/wince
diff options
context:
space:
mode:
Diffstat (limited to 'backends/wince')
-rw-r--r--backends/wince/missing/missing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/wince/missing/missing.cpp b/backends/wince/missing/missing.cpp
index 742433f566..10c8d36fec 100644
--- a/backends/wince/missing/missing.cpp
+++ b/backends/wince/missing/missing.cpp
@@ -442,7 +442,7 @@ int _stricmp( const char *string1, const char *string2 ) {
char *strrchr(const char *s, int c) {
int i;
- for (i = strlen(s) - 1; i > 0; i++)
+ for (i = strlen(s) - 1; i > 0; i--)
if (s[i] == c)
return (char*)(s + i);