Module: wine Branch: master Commit: c457d0f107e3893bccf3dc6d9254ec8fba197f94 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c457d0f107e3893bccf3dc6d92...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Wed Nov 19 13:52:09 2014 +0300
dwrite: Handle Unicode platform when looking for name record codepage.
---
dlls/dwrite/opentype.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/dwrite/opentype.c b/dlls/dwrite/opentype.c index c893227..1f5e178 100644 --- a/dlls/dwrite/opentype.c +++ b/dlls/dwrite/opentype.c @@ -930,6 +930,8 @@ static UINT get_name_record_codepage(enum OPENTYPE_PLATFORM_ID platform, USHORT UINT codepage = 0;
switch (platform) { + case OPENTYPE_PLATFORM_UNICODE: + break; case OPENTYPE_PLATFORM_MAC: switch (encoding) {