Nikolay Sivov : dwrite: Handle Unicode platform when looking for name record codepage.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Nov 19 10:07:50 CST 2014


Module: wine
Branch: master
Commit: c457d0f107e3893bccf3dc6d9254ec8fba197f94
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c457d0f107e3893bccf3dc6d9254ec8fba197f94

Author: Nikolay Sivov <nsivov at 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)
         {




More information about the wine-cvs mailing list