mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 08:33:37 +00:00
msvcrt: Pass correct buffer to locale_to_sname helper in create_locinfo.
This commit is contained in:
parent
93736efa80
commit
092e68b2e0
|
@ -1339,7 +1339,7 @@ static pthreadlocinfo create_locinfo(int category,
|
|||
locale_len[i] = p-locale;
|
||||
}
|
||||
} else {
|
||||
locale_found = locale_to_sname(buf, &cp[i], &sname_match, wbuf, LOCALE_NAME_MAX_LENGTH);
|
||||
locale_found = locale_to_sname(locale, &cp[i], &sname_match, wbuf, LOCALE_NAME_MAX_LENGTH);
|
||||
locale_sname[i] = wcsdup(wbuf);
|
||||
if(sname_match) {
|
||||
locale_name[i] = locale;
|
||||
|
|
Loading…
Reference in a new issue