From: Nikolay Sivov Subject: [PATCH] dwrite: Handle Unicode platform when looking for name record codepage Message-Id: <546C76C6.5040502@codeweavers.com> Date: Wed, 19 Nov 2014 13:53:58 +0300 --- From f01480cbdd9071d9e67303a2ca5c0326272c28f4 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Wed, 19 Nov 2014 13:52:09 +0300 Subject: [PATCH] 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) { -- 2.1.3