diff options
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 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; |