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

Alexandre Julliard julliard at winehq.org
Fri Feb 2 12:24:38 CST 2018


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Fri Feb  2 08:41:15 2018 +0300

comctl32/edit: Fix replacement text trace.

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

---

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

diff --git a/dlls/comctl32/edit.c b/dlls/comctl32/edit.c
index 5b6773e..a01b75b 100644
--- a/dlls/comctl32/edit.c
+++ b/dlls/comctl32/edit.c
@@ -2434,7 +2434,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