Giuseppe Bilotta : comctl32/toolbar: Fix trace info for TOOLBAR_InternalInsertButtonsT.
Alexandre Julliard
julliard at winehq.org
Wed Apr 22 10:18:52 CDT 2009
Module: wine
Branch: master
Commit: 6a01f71949bea02507bca4012d56a2a637dfc2ee
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6a01f71949bea02507bca4012d56a2a637dfc2ee
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date: Wed Apr 22 13:31:09 2009 +0200
comctl32/toolbar: Fix trace info for TOOLBAR_InternalInsertButtonsT.
---
dlls/comctl32/toolbar.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
index 1ba284c..c3add77 100644
--- a/dlls/comctl32/toolbar.c
+++ b/dlls/comctl32/toolbar.c
@@ -1832,7 +1832,7 @@ TOOLBAR_InternalInsertButtonsT(TOOLBAR_INFO *infoPtr, INT iIndex, UINT nAddButto
for (iButton = 0; iButton < nAddButtons; iButton++) {
TBUTTON_INFO *btnPtr = &infoPtr->buttons[iIndex + iButton];
- TOOLBAR_DumpTBButton(lpTbb, fUnicode);
+ TOOLBAR_DumpTBButton(lpTbb + iButton, fUnicode);
ZeroMemory(btnPtr, sizeof(*btnPtr));
More information about the wine-cvs
mailing list