[ros-diffs] [cwittich] 38687: sync mlang with wine 1.1.12
cwittich at svn.reactos.org
cwittich at svn.reactos.org
Sat Jan 10 19:49:19 CET 2009
Author: cwittich
Date: Sat Jan 10 12:49:19 2009
New Revision: 38687
URL: http://svn.reactos.org/svn/reactos?rev=38687&view=rev
Log:
sync mlang with wine 1.1.12
Modified:
trunk/reactos/dll/win32/mlang/regsvr.c
Modified: trunk/reactos/dll/win32/mlang/regsvr.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mlang/regsvr.c?rev=38687&r1=38686&r2=38687&view=diff
==============================================================================
--- trunk/reactos/dll/win32/mlang/regsvr.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mlang/regsvr.c [iso-8859-1] Sat Jan 10 12:49:19 2009
@@ -33,6 +33,8 @@
#include "mlang.h"
#include "wine/debug.h"
+#include "wine/unicode.h"
+
#include "initguid.h"
WINE_DEFAULT_DEBUG_CHANNEL(mlang);
@@ -163,7 +165,7 @@
KEY_READ | KEY_WRITE, NULL, &key, NULL);
if (res != ERROR_SUCCESS) goto error_close_iid_key;
- wsprintfW(buf, fmt, list->num_methods);
+ sprintfW(buf, fmt, list->num_methods);
res = RegSetValueExW(key, NULL, 0, REG_SZ,
(CONST BYTE*)buf,
(lstrlenW(buf) + 1) * sizeof(WCHAR));
More information about the Ros-diffs
mailing list