Nikolay Sivov : user32/edit: Fix replacement text trace.

Alexandre Julliard julliard at winehq.org
Thu Feb 1 16:14:52 CST 2018


Module: wine
Branch: master
Commit: f2b489591bc4f5f1cd89f84950c9bfefec1131ca
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f2b489591bc4f5f1cd89f84950c9bfefec1131ca

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Feb  1 10:06:56 2018 +0300

user32/edit: Fix replacement text trace.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/user32/edit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c
index 5e161c5..614a979 100644
--- a/dlls/user32/edit.c
+++ b/dlls/user32/edit.c
@@ -2571,7 +2571,7 @@ static void EDIT_EM_ReplaceSel(EDITSTATE *es, BOOL can_undo, const WCHAR *lpsz_r
 	UINT bufl;
 
 	TRACE("%s, can_undo %d, send_update %d\n",
-	    debugstr_w(lpsz_replace), can_undo, send_update);
+	    debugstr_wn(lpsz_replace, strl), can_undo, send_update);
 
 	s = es->selection_start;
 	e = es->selection_end;




More information about the wine-cvs mailing list