gdi32: Use lower case font dir name to match unix directory layout

Dmitry Timoshkov dmitry at codeweavers.com
Wed Sep 12 01:05:28 CDT 2007


Hello,

this patch helps to avoid case insensitive file scans due to mismatches
between requested and real unix directory name, and slightly speed up
gdi32 startup.

Changelog:
    gdi32: Use lower case font dir name to match unix directory layout.

---
 dlls/gdi32/freetype.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 9881f00..b978d35 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -339,7 +339,7 @@ static const WCHAR defFixed[] = {'C','o','u','r','i','e','r',' ','N','e','w','\0
 
 static const WCHAR RegularW[] = {'R','e','g','u','l','a','r','\0'};
 
-static const WCHAR fontsW[] = {'\\','F','o','n','t','s','\0'};
+static const WCHAR fontsW[] = {'\\','f','o','n','t','s','\0'};
 static const WCHAR win9x_font_reg_key[] = {'S','o','f','t','w','a','r','e','\\','M','i','c','r','o','s','o','f','t','\\',
                                            'W','i','n','d','o','w','s','\\',
                                            'C','u','r','r','e','n','t','V','e','r','s','i','o','n','\\',
-- 
1.5.3.1






More information about the wine-patches mailing list