[PATCH v7 3/3] kernel32: Make GetUserGeoID() pretend we set a GeoID even if we didn't.

Alexandre Julliard julliard at winehq.org
Mon Nov 18 05:12:51 CST 2019


João Diogo Ferreira <devilj at outlook.pt> writes:

> This undocumented behaviour was implemented in Windows 10 v1709 along
> all the GeoName functions.
>
> For Wine, this fixes an edge-case scenario where we would autodetect a
> region-class ID from a locale, leaving the nation class empty.
> As most apps only care about nations, this would make some apps crash
> regardless of our autodetection mechanism.

Is there any locale where this would happen? If so, shouldn't
SetUserGeoID set a default Nation key?  Otherwise if it's really
supposed to be unset, it would have to unset it explicitly. Same for the
Region key of course.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list