[3/5] gdi32: Cached external flag is not used.

Kusanagi Kouichi slash at ac.auone-net.jp
Tue Mar 27 05:08:16 CDT 2012


Signed-off-by: Kusanagi Kouichi <slash at ac.auone-net.jp>
---
 dlls/gdi32/freetype.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 07320df..a67859f 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -487,7 +487,6 @@ static const WCHAR face_index_value[] = {'I','n','d','e','x',0};
 static const WCHAR face_italic_value[] = {'I','t','a','l','i','c',0};
 static const WCHAR face_bold_value[] = {'B','o','l','d',0};
 static const WCHAR face_version_value[] = {'V','e','r','s','i','o','n',0};
-static const WCHAR face_external_value[] = {'E','x','t','e','r','n','a','l',0};
 static const WCHAR face_height_value[] = {'H','e','i','g','h','t',0};
 static const WCHAR face_width_value[] = {'W','i','d','t','h',0};
 static const WCHAR face_size_value[] = {'S','i','z','e',0};
@@ -1238,7 +1237,6 @@ static void load_face(HKEY hkey_face, WCHAR *face_name, Family *family)
         reg_load_dword(hkey_face, face_italic_value, &italic);
         reg_load_dword(hkey_face, face_bold_value, &bold);
         reg_load_dword(hkey_face, face_version_value, (DWORD*)&face->font_version);
-        reg_load_dword(hkey_face, face_external_value, (DWORD*)&face->external);
 
         needed = sizeof(face->fs);
         RegQueryValueExW(hkey_face, face_font_sig_value, NULL, NULL, (BYTE*)&face->fs, &needed);
@@ -1425,7 +1423,6 @@ static void add_face_to_cache(Face *face)
     reg_save_dword(hkey_face, face_italic_value, (face->ntmFlags & NTM_ITALIC) != 0);
     reg_save_dword(hkey_face, face_bold_value, (face->ntmFlags & NTM_BOLD) != 0);
     reg_save_dword(hkey_face, face_version_value, face->font_version);
-    reg_save_dword(hkey_face, face_external_value, face->external);
 
     RegSetValueExW(hkey_face, face_font_sig_value, 0, REG_BINARY, (BYTE*)&face->fs, sizeof(face->fs));
 
-- 
1.7.9.1




More information about the wine-patches mailing list