Author: cwittich
Date: Sat Jun 27 22:46:10 2009
New Revision: 41643
URL:
http://svn.reactos.org/svn/reactos?rev=41643&view=rev
Log:
fix two kernel32 locale winetests
Modified:
trunk/reactos/dll/win32/kernel32/misc/lang.c
Modified: trunk/reactos/dll/win32/kernel32/misc/lang.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/la…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/misc/lang.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/misc/lang.c [iso-8859-1] Sat Jun 27 22:46:10 2009
@@ -2533,6 +2533,8 @@
ret = wine_get_sortkey(dwMapFlags, srcW, srclenW, lpDestStr, cchDest);
if (ret == 0)
SetLastError(ERROR_INSUFFICIENT_BUFFER);
+ else
+ ret++;
goto map_string_exit;
}