Alexandre Julliard : shell32: Fix DDE command tracing now that we are receiving Unicode.
Module: wine Branch: master Commit: cedeccce76a6e94c171c99215e507e6ce0228b0c URL: http://source.winehq.org/git/wine.git/?a=commit;h=cedeccce76a6e94c171c99215e... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri Jun 25 00:00:35 2010 +0200 shell32: Fix DDE command tracing now that we are receiving Unicode. --- dlls/shell32/dde.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/shell32/dde.c b/dlls/shell32/dde.c index 817fd33..2cbcb0d 100644 --- a/dlls/shell32/dde.c +++ b/dlls/shell32/dde.c @@ -88,13 +88,13 @@ static inline HDDEDATA Dde_OnRequest(UINT uFmt, HCONV hconv, HSZ hszTopic, static inline DWORD Dde_OnExecute(HCONV hconv, HSZ hszTopic, HDDEDATA hdata) { - BYTE * pszCommand; + WCHAR * pszCommand; - pszCommand = DdeAccessData(hdata, NULL); + pszCommand = (WCHAR *)DdeAccessData(hdata, NULL); if (!pszCommand) return DDE_FNOTPROCESSED; - FIXME("stub: %s %s\n", debugstr_hsz(hszTopic), pszCommand); + FIXME("stub: %s %s\n", debugstr_hsz(hszTopic), debugstr_w(pszCommand)); DdeUnaccessData(hdata);
participants (1)
-
Alexandre Julliard