gdi32: Avoid hardcoding the Unicode string literal lengths.
Francois Gouget
fgouget at free.fr
Fri Dec 16 06:08:31 CST 2011
---
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 9762230..9b07b97 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -410,7 +410,7 @@ static const WCHAR FixedSys_Value[] = {'F','I','X','E','D','F','O','N','.','F','
static const WCHAR System_Value[] = {'F','O','N','T','S','.','F','O','N','\0'};
static const WCHAR OEMFont_Value[] = {'O','E','M','F','O','N','T','.','F','O','N','\0'};
-static const WCHAR * const SystemFontValues[4] = {
+static const WCHAR * const SystemFontValues[] = {
System_Value,
OEMFont_Value,
FixedSys_Value,
--
1.7.7.3
More information about the wine-patches
mailing list