comctl32/toolbar: Improve fixme message conditions.

This commit is contained in:
Jason Edmeades 2009-12-21 09:42:38 +00:00 committed by Alexandre Julliard
parent 25d15c68dc
commit 64bd51b1d3
1 changed files with 1 additions and 1 deletions

View File

@ -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);