Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Caolán McNamara committed Aug 8, 2018
1 parent ce4cfe1 commit f47cbdf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/player/meta.h
Original file line number Diff line number Diff line change
Expand Up @@ -2585,6 +2585,8 @@ static int meta_dc_restore (wmfAPI* API,wmfRecord* Record,wmfAttributes* attrlis
polyrect.BR[i] = clip->rects[i].BR;
}

if (FR->region_clip) FR->region_clip (API,&polyrect);

wmf_free (API,polyrect.TL);
wmf_free (API,polyrect.BR);
}
Expand All @@ -2593,9 +2595,10 @@ static int meta_dc_restore (wmfAPI* API,wmfRecord* Record,wmfAttributes* attrlis
polyrect.BR = 0;

polyrect.count = 0;

if (FR->region_clip) FR->region_clip (API,&polyrect);
}

if (FR->region_clip) FR->region_clip (API,&polyrect);

return (changed);
}
Expand Down

0 comments on commit f47cbdf

Please sign in to comment.