Also added three other geotypes to the list of known FIXME cases.
Signed-off-by: João Diogo Craveiro Ferreira devilj@outlook.pt --- dlls/kernel32/locale.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c index ea0d7dd30b..752136be07 100644 --- a/dlls/kernel32/locale.c +++ b/dlls/kernel32/locale.c @@ -4432,6 +4432,7 @@ static int get_geo_info(const struct geoinfo_t *geoinfo, GEOTYPE geotype, WCHAR }
switch (geotype) { + case GEO_ID: case GEO_NATION: val = geoinfo->id; break; @@ -4441,6 +4442,14 @@ static int get_geo_info(const struct geoinfo_t *geoinfo, GEOTYPE geotype, WCHAR case GEO_PARENT: val = geoinfo->parent; break; + case GEO_NAME: + if (geoinfo->kind == LOCATION_REGION) { + sprintfW(buffW, geoname_uncode_fmtW, geoinfo->uncode); + str = buffW; + } + else + str = geoinfo->iso2W; + break; case GEO_ISO2: case GEO_ISO3: { @@ -4455,6 +4464,9 @@ static int get_geo_info(const struct geoinfo_t *geoinfo, GEOTYPE geotype, WCHAR case GEO_OFFICIALLANGUAGES: case GEO_LATITUDE: case GEO_LONGITUDE: + case GEO_DIALINGCODE: + case GEO_CURRENCYCODE: + case GEO_CURRENCYSYMBOL: FIXME("type %d is not supported\n", geotype); SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0;
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=58234
Your paranoid android.
=== debian10 (32 bit Chinese:China report) ===
kernel32: debugger: Timeout
=== debian10 (32 bit WoW report) ===
kernel32: comm.c:919: Test failed: OutQueue should not be empty
=== debian10 (64 bit WoW report) ===
kernel32: debugger.c:320: Test failed: GetThreadContext failed: 5