Nikolay Sivov : kernel32/tests: Fix GetGeoInfo() test failure on Win10.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Aug 24 07:37:14 CDT 2015
Module: wine
Branch: master
Commit: cc2bc84d146d9cf8239fd63b1fa14ef5ba8cfab3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cc2bc84d146d9cf8239fd63b1fa14ef5ba8cfab3
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Sat Aug 22 09:18:58 2015 +0300
kernel32/tests: Fix GetGeoInfo() test failure on Win10.
---
dlls/kernel32/tests/locale.c | 2 +-
include/winnls.h | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/dlls/kernel32/tests/locale.c b/dlls/kernel32/tests/locale.c
index 061e331..86adcdb 100644
--- a/dlls/kernel32/tests/locale.c
+++ b/dlls/kernel32/tests/locale.c
@@ -4242,7 +4242,7 @@ static void test_GetGeoInfo(void)
/* try invalid type value */
SetLastError(0xdeadbeef);
- ret = pGetGeoInfoA(203, GEO_PARENT + 1, NULL, 0, 0);
+ ret = pGetGeoInfoA(203, GEO_CURRENCYSYMBOL + 1, NULL, 0, 0);
ok(ret == 0, "got %d\n", ret);
ok(GetLastError() == ERROR_INVALID_FLAGS, "got %d\n", GetLastError());
}
diff --git a/include/winnls.h b/include/winnls.h
index bf5431f..0f68c81 100644
--- a/include/winnls.h
+++ b/include/winnls.h
@@ -807,7 +807,10 @@ enum SYSGEOTYPE
GEO_TIMEZONES,
GEO_OFFICIALLANGUAGES,
GEO_ISO_UN_NUMBER,
- GEO_PARENT
+ GEO_PARENT,
+ GEO_DIALINGCODE,
+ GEO_CURRENCYCODE,
+ GEO_CURRENCYSYMBOL
};
enum SYSGEOCLASS
More information about the wine-cvs
mailing list