1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
uema2 2003-06-08 04:38:06 +00:00
parent 9481face42
commit 32bd3c5679
3 changed files with 14 additions and 6 deletions

View file

@ -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;