mirror of
https://github.com/reactos/wine.git
synced 2025-02-02 18:25:19 +00:00
gdi32: Pass a NULL user-style array to ExtCreatePen if the user-style count is zero.
This commit is contained in:
parent
418424d362
commit
1c1fff557d
@ -945,7 +945,7 @@ BOOL WINAPI PlayEnhMetaFileRecord(
|
||||
|
||||
(handletable->objectHandle)[pPen->ihPen] =
|
||||
ExtCreatePen(pPen->elp.elpPenStyle, pPen->elp.elpWidth, &lb,
|
||||
pPen->elp.elpNumEntries, pPen->elp.elpStyleEntry);
|
||||
pPen->elp.elpNumEntries, pPen->elp.elpNumEntries ? pPen->elp.elpStyleEntry : NULL);
|
||||
break;
|
||||
}
|
||||
case EMR_CREATEBRUSHINDIRECT:
|
||||
|
Loading…
x
Reference in New Issue
Block a user