gdi32: Break loop in MF_PlayMetaFile when META_EOF is found.
This commit is contained in:
parent
46f8b23eb7
commit
47a38c3631
|
@ -427,7 +427,12 @@ BOOL MF_PlayMetaFile( HDC hdc, METAHEADER *mh)
|
|||
mr->rdSize,offset,mh->mtSize*2);
|
||||
break;
|
||||
}
|
||||
|
||||
offset += mr->rdSize * 2;
|
||||
if (mr->rdFunction == META_EOF) {
|
||||
TRACE("Got META_EOF so stopping\n");
|
||||
break;
|
||||
}
|
||||
PlayMetaFileRecord( hdc, ht, mr, mh->mtNoObjects );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue