mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 08:30:21 +00:00
sync mlang with wine 1.1.12
svn path=/trunk/; revision=38687
This commit is contained in:
parent
6bf0cf3954
commit
faff43dadc
1 changed files with 3 additions and 1 deletions
|
@ -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 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
|
|||
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));
|
||||
|
|
Loading…
Reference in a new issue