usp10: Add a few chars that Windows itemizes as punctuation.

This commit is contained in:
Aric Stewart 2011-11-08 10:33:43 -06:00 committed by Alexandre Julliard
parent 38aa7696c5
commit cd3d305b60
1 changed files with 4 additions and 0 deletions

View File

@ -494,6 +494,10 @@ static WORD get_char_script( WCHAR ch)
if (ch == 0xc || ch == 0x20 || ch == 0x202f)
return Script_CR;
/* These chars are itemized as Punctuation by Windows */
if (ch == 0x2212 || ch == 0x2044 || ch == 0x00a0)
return Script_Punctuation;
GetStringTypeW(CT_CTYPE1, &ch, 1, &type);
if (type == 0)