From 327fc9d183ba193c307d0ecaec8ad1f4e6ca1330 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 21 Jul 2009 15:41:47 -0400 Subject: [PATCH] Use GetSystemWindowsDirectory() instead of GetWindowsDirectory() (#22037) --- src/fcxml.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fcxml.c b/src/fcxml.c index 9713e6b..9dc64e2 100644 --- a/src/fcxml.c +++ b/src/fcxml.c @@ -2099,10 +2099,10 @@ FcEndElement(void *userData, const XML_Char *name) break; } FcMemAlloc (FC_MEM_STRING, 1000); - rc = GetWindowsDirectory (data, 800); + rc = GetSystemWindowsDirectory (data, 800); if (rc == 0 || rc > 800) { - FcConfigMessage (parse, FcSevereError, "GetWindowsDirectory failed"); + FcConfigMessage (parse, FcSevereError, "GetSystemWindowsDirectory failed"); FcStrFree (data); break; } @@ -2142,7 +2142,7 @@ FcEndElement(void *userData, const XML_Char *name) rc = GetTempPath (800, data); if (rc == 0 || rc > 800) { - FcConfigMessage (parse, FcSevereError, "GetWindowsDirectory failed"); + FcConfigMessage (parse, FcSevereError, "GetTempPath failed"); FcStrFree (data); break; } -- 2.39.5