Skip to content
Permalink
Browse files

[0.4.12][COMCTL32] Addendum to last commit

CORE-14433, CORE-15892, CORE-15118, CORE-15529
Similar to commit5 from PR#1211
  • Loading branch information...
JoachimHenze committed Jun 9, 2019
1 parent 89f3036 commit 4c1b17e54fdac04c90302cfcaff537ef2e39e796
Showing with 4 additions and 7 deletions.
  1. +4 −7 dll/win32/comctl32/imagelist.c
@@ -3994,14 +3994,11 @@ static BOOL is_valid(HIMAGELIST himl)
BOOL valid;
__TRY
{
#ifdef __REACTOS__
valid = himl &&
himl->usMagic == IMAGELIST_MAGIC &&
himl->IImageList2_iface.lpVtbl;
#else
#ifdef __REACTOS__
valid = himl && himl->usMagic == IMAGELIST_MAGIC;
#endif

#else
valid = himl && himl->IImageList2_iface.lpVtbl == &ImageListImpl_Vtbl;
#endif
}
__EXCEPT_PAGE_FAULT
{

0 comments on commit 4c1b17e

Please sign in to comment.
You can’t perform that action at this time.