From 2ae10acb615b2778dbc645126bd22bc298293e82 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Fri, 16 Dec 2011 13:08:31 +0100 Subject: [PATCH] gdi32: Avoid hardcoding the Unicode string literal lengths. --- dlls/gdi32/freetype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c index 9762230bf16..9b07b97d314 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, -- 2.11.4.GIT