An app depends on a NULL return from CreateDIBPatternBrushPt if data
is NULL.
This commit is contained in:
parent
d6872aff18
commit
f0e20a6c16
@ -230,6 +230,9 @@ HBRUSH WINAPI CreateDIBPatternBrushPt(
|
||||
BITMAPINFO *info=(BITMAPINFO*)data;
|
||||
LOGBRUSH logbrush;
|
||||
|
||||
if (!data)
|
||||
return NULL;
|
||||
|
||||
TRACE("%p %ldx%ld %dbpp\n", info, info->bmiHeader.biWidth,
|
||||
info->bmiHeader.biHeight, info->bmiHeader.biBitCount);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user