From e6775cc1933ffcfa07235a1c030aad4ed88fa1bf Mon Sep 17 00:00:00 2001 From: uema2 Date: Fri, 31 Oct 2003 13:36:19 +0000 Subject: * wince/string_wce.c (strrchr): should decrement pointer. * wince/Makefile.sub: correct a range of isdigit(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- wince/string_wce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wince/string_wce.c') diff --git a/wince/string_wce.c b/wince/string_wce.c index a1ee075077..257eee101d 100644 --- a/wince/string_wce.c +++ b/wince/string_wce.c @@ -44,7 +44,7 @@ int strnicmp( const char *s1, const char *s2, size_t count ) char *strrchr( const char *p, int c ) { char *pp; - for( pp=(char*)p+strlen(p); pp!=p; p-- ) + for( pp=(char*)p+strlen(p); pp!=p; pp-- ) { if( *pp==c ) break; } -- cgit v1.2.3