mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:26:10 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue