Fix typo.

This commit is contained in:
Corinna Vinschen 2009-09-23 12:01:42 +00:00
parent e664429d77
commit 565d6ede3f
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
* strfuncs.cc (sys_cp_wcstombs): Convert lone surrogate pair * strfuncs.cc (sys_cp_wcstombs): Convert lone surrogate pair
second halves to unambiguous ASCII SO sequence. When converting second halves to unambiguous ASCII SO sequence. When converting
chars invalid in current codepage to ASCII SO sequence, make chars invalid in current codepage to ASCII SO sequence, make
sure to check for surrogate pair second half only if ct least sure to check for surrogate pair second half only if at least
one wide characters is left. Decrement nwc if valid second half has one wide characters is left. Decrement nwc if valid second half has
been converted. been converted.
(sys_cp_mbstowcs): Improve ASCII SO handling. Never break from loop (sys_cp_mbstowcs): Improve ASCII SO handling. Never break from loop