Author: cwittich
Date: Fri Nov 13 13:40:20 2009
New Revision: 44129
URL:
http://svn.reactos.org/svn/reactos?rev=44129&view=rev
Log:
sync dde with wine 1.1.32
Modified:
trunk/reactos/dll/win32/user32/misc/dde.c
Modified: trunk/reactos/dll/win32/user32/misc/dde.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/misc/dde.…
==============================================================================
--- trunk/reactos/dll/win32/user32/misc/dde.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/misc/dde.c [iso-8859-1] Fri Nov 13 13:40:20 2009
@@ -1638,7 +1638,7 @@
WDML_IncHSZ(pInstance, hszService);
DdeQueryStringW(pInstance->instanceID, hszService, buf1, 256, CP_WINUNICODE);
- snprintfW(buf2, 256, fmtW, buf1, GetCurrentProcessId());
+ snprintfW(buf2, 256, fmtW, buf1, 2*sizeof(ULONG_PTR), GetCurrentProcessId());
pServer->hszServiceSpec = DdeCreateStringHandleW(pInstance->instanceID, buf2,
CP_WINUNICODE);
pServer->atomService = WDML_MakeAtomFromHsz(pServer->hszService);