kernel32: Fix copied data length.

This commit is contained in:
Nikolay Sivov 2009-10-23 03:57:23 +04:00 committed by Alexandre Julliard
parent 2832eab227
commit e94587c98d
1 changed files with 1 additions and 1 deletions

View File

@ -1337,7 +1337,7 @@ INT WINAPI GetLocaleInfoW( LCID lcid, LCTYPE lctype, LPWSTR buffer, INT len )
if (i <= *p && (lcflags & LOCALE_RETURN_GENITIVE_NAMES))
{
ret = *p - i - 1;
ret = *p - i + 1;
p += i;
}
else ret = i;