X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=rostests%2Fapitests%2Fgdi32%2FAddFontResource.c;h=e020dfc4db559fe5a005d247d8262ffd811418e9;hp=7817cb95072a8cfddd012c35107179bc52f1bbc8;hb=1f7ffb9c1db443ea90845da9c9862dd6fbbf0cdd;hpb=3b0dfe2c25f2ccabd12005726bc513d88363f4b7 diff --git a/rostests/apitests/gdi32/AddFontResource.c b/rostests/apitests/gdi32/AddFontResource.c index 7817cb95072..e020dfc4db5 100644 --- a/rostests/apitests/gdi32/AddFontResource.c +++ b/rostests/apitests/gdi32/AddFontResource.c @@ -18,7 +18,7 @@ void Test_AddFontResourceA() CHAR szFileNameFont2A[MAX_PATH]; int result; - GetCurrentDirectoryA(MAX_PATH,szFileNameA); + GetWindowsDirectoryA(szFileNameA,MAX_PATH); memcpy(szFileNameFont1A,szFileNameA,MAX_PATH ); strcat(szFileNameFont1A, "\\bin\\testdata\\test.ttf");