https://bugs.winehq.org/show_bug.cgi?id=45322
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jactry92@gmail.com
--- Comment #7 from Jactry Zeng jactry92@gmail.com --- Created attachment 63852 --> https://bugs.winehq.org/attachment.cgi?id=63852 hardcoding hark for installer of LOL.
Confirming, wine-4.3-296-g839b5515f2.
By comparing a relay log with another relay log on zh_CN.UTF-8, it seems that this is a problem about strnicmp() in msvcrt:
tr_CY.UTF-8: 002c:Call msvcrt._stricmp(013684e6 "Highlight",0060072f "InfoText") ret=004737a6 002c:Ret msvcrt._stricmp() retval=0000001f ret=004737a6 002c:Call msvcrt._stricmp(013684e6 "Highlight",00600746 "Scrollbar") ret=004737a6 002c:Ret msvcrt._stricmp() retval=fffffff5 ret=004737a6 002c:Call msvcrt._stricmp(013684e6 "Highlight",00600738 "Menu") ret=004737a6 002c:Ret msvcrt._stricmp() retval=fffffffb ret=004737a6
zh_CN.UTF-8: 0039:Call msvcrt._stricmp(012ee3be "Highlight",0060072f "InfoText") ret=004737a6 0039:Ret msvcrt._stricmp() retval=ffffffff ret=004737a6 0039:Call msvcrt._stricmp(012ee3be "Highlight",006006ed "InactiveBorder") ret=004737a6 0039:Ret msvcrt._stricmp() retval=ffffffff ret=004737a6 0039:Call msvcrt._stricmp(012ee3be "Highlight",006006d5 "Highlight") ret=004737a6 0039:Ret msvcrt._stricmp() retval=00000000 ret=004737a6
Hacking strnicmp() with hardcoding a correct return value can make the installer work on Turkish locale.