Jason Edmeades : comctl32/toolbar: Improve fixme message conditions.

Alexandre Julliard julliard at winehq.org
Tue Dec 22 09:58:57 CST 2009


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

Author: Jason Edmeades <jason.edmeades at googlemail.com>
Date:   Mon Dec 21 09:42:38 2009 +0000

comctl32/toolbar: Improve fixme message conditions.

---

 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 d5ca524..836b864 100644
--- a/dlls/comctl32/toolbar.c
+++ b/dlls/comctl32/toolbar.c
@@ -3980,7 +3980,7 @@ TOOLBAR_ReplaceBitmap (TOOLBAR_INFO *infoPtr, const TBREPLACEBITMAP *lpReplace)
         FIXME("changing standard bitmaps not implemented\n");
         return FALSE;
     }
-    else if (lpReplace->hInstOld != 0)
+    else if (lpReplace->hInstOld != 0 && lpReplace->hInstOld != lpReplace->hInstNew)
         FIXME("resources not in the current module not implemented\n");
 
     TRACE("To be replaced hInstOld %p nIDOld %lx\n", lpReplace->hInstOld, lpReplace->nIDOld);




More information about the wine-cvs mailing list