Lei Zhang : comctl32: Fix typo in rebar.

Alexandre Julliard julliard at winehq.org
Fri Nov 2 08:10:32 CDT 2007


Module: wine
Branch: master
Commit: 019016f90fcbef28059df3376ff425caad1b691b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=019016f90fcbef28059df3376ff425caad1b691b

Author: Lei Zhang <thestig at google.com>
Date:   Thu Nov  1 22:45:45 2007 -0700

comctl32: Fix typo in rebar.

---

 dlls/comctl32/rebar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/rebar.c b/dlls/comctl32/rebar.c
index 9f11146..7cf11bf 100644
--- a/dlls/comctl32/rebar.c
+++ b/dlls/comctl32/rebar.c
@@ -2510,7 +2510,7 @@ REBAR_SetBandInfoT(REBAR_INFO *infoPtr, WPARAM wParam, LPARAM lParam, BOOL bUnic
         else
             Str_SetPtrAtoW(&wstr, (LPSTR)lprbbi->lpText);
 
-        if (REBAR_strdifW(wstr, lprbbi->lpText)) {
+        if (REBAR_strdifW(wstr, lpBand->lpText)) {
             Free(lpBand->lpText);
             lpBand->lpText = wstr;
             bChanged = TRUE;




More information about the wine-cvs mailing list