Signed-off-by: Daniel Lehman dlehman25@gmail.com --- dlls/msvcrt/tests/string.c | 4 ++-- dlls/msvcrt/wcs.c | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/dlls/msvcrt/tests/string.c b/dlls/msvcrt/tests/string.c index 6f936418fa..0d68809b3d 100644 --- a/dlls/msvcrt/tests/string.c +++ b/dlls/msvcrt/tests/string.c @@ -3730,10 +3730,10 @@ static void test_SpecialCasing(void) }; struct test lcases[] = { {"English", 'i', 'I'}, /* LATIN SMALL LETTER I */ - {"English", 0x0131, 0, TRUE}, /* LATIN SMALL LETTER DOTLESS I */ + {"English", 0x0131}, /* LATIN SMALL LETTER DOTLESS I */
{"Turkish", 'i', 'I'}, /* LATIN SMALL LETTER I */ - {"Turkish", 0x0131, 0, TRUE}, /* LATIN SMALL LETTER DOTLESS I */ + {"Turkish", 0x0131}, /* LATIN SMALL LETTER DOTLESS I */
{"German", 0x00DF}, /* LATIN SMALL LETTER SHARP S */
diff --git a/dlls/msvcrt/wcs.c b/dlls/msvcrt/wcs.c index 28e82ec303..840bea8cba 100644 --- a/dlls/msvcrt/wcs.c +++ b/dlls/msvcrt/wcs.c @@ -2491,6 +2491,9 @@ int CDECL MSVCRT__towupper_l(MSVCRT_wint_t c, MSVCRT__locale_t locale) return c; }
+ if(c == 0x131) /* special case for small dotless i */ + return c; + return toupperW(c); }