From 32bd3c5679d39b1679a25f0bdb1453858376dce0 Mon Sep 17 00:00:00 2001 From: uema2 Date: Sun, 8 Jun 2003 04:38:06 +0000 Subject: * wince/setup.mak: set SUBSYSTEM in each platform. * wince/stdlib.c: fix mblen() bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- wince/stdlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wince/stdlib.c') diff --git a/wince/stdlib.c b/wince/stdlib.c index c7f0c8428a..a2ac340de4 100644 --- a/wince/stdlib.c +++ b/wince/stdlib.c @@ -30,9 +30,9 @@ int mblen(const char *mbstr, size_t count) { if( *p=='\0' ) break; if( IsDBCSLeadByteEx( CP_ACP, *p ) ) - n+=2; + n+=2, p+=2; else - n+=1; + n+=1, p+=1; } return n; -- cgit v1.2.3