kernel32: Fix copied data length.
This commit is contained in:
parent
2832eab227
commit
e94587c98d
|
@ -1337,7 +1337,7 @@ INT WINAPI GetLocaleInfoW( LCID lcid, LCTYPE lctype, LPWSTR buffer, INT len )
|
||||||
|
|
||||||
if (i <= *p && (lcflags & LOCALE_RETURN_GENITIVE_NAMES))
|
if (i <= *p && (lcflags & LOCALE_RETURN_GENITIVE_NAMES))
|
||||||
{
|
{
|
||||||
ret = *p - i - 1;
|
ret = *p - i + 1;
|
||||||
p += i;
|
p += i;
|
||||||
}
|
}
|
||||||
else ret = i;
|
else ret = i;
|
||||||
|
|
Loading…
Reference in New Issue