From 1a7a4fbe5825612f5df9d379fa51fc90ec0b1edb Mon Sep 17 00:00:00 2001 From: Stefan Leichter Date: Mon, 14 Mar 2005 21:41:27 +0000 Subject: [PATCH] Make mlang_test.exe loadable on NT 4.0. --- dlls/mlang/tests/mlang.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/mlang/tests/mlang.c b/dlls/mlang/tests/mlang.c index d462172877f..ad0d1ab9369 100644 --- a/dlls/mlang/tests/mlang.c +++ b/dlls/mlang/tests/mlang.c @@ -550,7 +550,7 @@ static void test_EnumScripts(IMultiLanguage2 *iML2, DWORD flags) total = n; - for (i = 0; i < n; i++) + for (i = 0; pGetCPInfoExA && i < n; i++) { CPINFOEXA cpinfoex; #ifdef DUMP_SCRIPT_INFO @@ -567,7 +567,7 @@ static void test_EnumScripts(IMultiLanguage2 *iML2, DWORD flags) wine_dbgstr_w(sinfo[i].wszFixedWidthFont), wine_dbgstr_w(sinfo[i].wszProportionalFont)); #endif - if (GetCPInfoExA(sinfo[i].uiCodePage, 0, &cpinfoex)) + if (pGetCPInfoExA(sinfo[i].uiCodePage, 0, &cpinfoex)) trace("CodePage %u name: %s\n", sinfo[i].uiCodePage, cpinfoex.CodePageName); else trace("GetCPInfoExA failed for cp %u\n", sinfo[i].uiCodePage);