Re: [PATCH] (resend)comctl32: ILC_COLORDDB imagelists can be created with 0 sizes
19 Nov
2015
19 Nov
'15
7:01 a.m.
Aric Stewart <aric(a)codeweavers.com> writes:
@@ -776,7 +776,7 @@ ImageList_Create (INT cx, INT cy, UINT flags,
TRACE("(%d %d 0x%x %d %d)\n", cx, cy, flags, cInitial, cGrow);
- if (cx <= 0 || cy <= 0) return NULL; + if (!((flags&ILC_COLORDDB) == ILC_COLORDDB) && (cx <= 0 || cy <= 0)) return NULL;
This would need tests for the < 0 case too. -- Alexandre Julliard julliard(a)winehq.org
3679
Age (days ago)
3679
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard