- Timestamp:
- Jun 25, 2002, 8:08:52 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/unicode/mbtowc.c
r8752 r8766 58 58 } 59 59 60 #ifndef __WIN32OS2__61 60 for (;;) 62 61 { … … 87 86 srclen -= 16; 88 87 } 89 #else90 /* kso: The above code isn't that cool when srclen is bad.91 * This might be a little bit slower but way safer!92 */93 ret = 1; /* seems to be 1 based, at least the code is... */94 while (*src && srclen--)95 *dst++ = cp2uni[*src++], ret++;96 return ret - srclen;97 #endif98 88 } 99 89
Note:
See TracChangeset
for help on using the changeset viewer.