diff options
| author | uema2 <uema2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-06-08 04:38:06 +0000 |
|---|---|---|
| committer | uema2 <uema2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-06-08 04:38:06 +0000 |
| commit | 50a3979c84fc9952f1597fb379958f8c8b625754 (patch) | |
| tree | 21724aa2193edb57d65dc756a631d68ed666dbd0 /wince/stdlib.c | |
| parent | 51e04835940675304f39ee323a8bbac3f21dfed2 (diff) | |
| download | ruby-50a3979c84fc9952f1597fb379958f8c8b625754.tar.gz ruby-50a3979c84fc9952f1597fb379958f8c8b625754.tar.xz ruby-50a3979c84fc9952f1597fb379958f8c8b625754.zip | |
* wince/setup.mak: set SUBSYSTEM in each platform.
* wince/stdlib.c: fix mblen() bug.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'wince/stdlib.c')
| -rw-r--r-- | wince/stdlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wince/stdlib.c b/wince/stdlib.c index c7f0c8428..a2ac340de 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; |
