fix two kernel32 locale winetests

svn path=/trunk/; revision=41643
This commit is contained in:
Christoph von Wittich 2009-06-27 18:46:10 +00:00
parent dc74ea0bbe
commit 29572196b7

View file

@ -2533,6 +2533,8 @@ LCMapStringA (
ret = wine_get_sortkey(dwMapFlags, srcW, srclenW, lpDestStr, cchDest);
if (ret == 0)
SetLastError(ERROR_INSUFFICIENT_BUFFER);
else
ret++;
goto map_string_exit;
}