1ebb4b
--- libwmf-0.2.8.4/src/player/meta.h
1ebb4b
+++ libwmf-0.2.8.4/src/player/meta.h
1ebb4b
@@ -2585,6 +2585,8 @@
1ebb4b
 			polyrect.BR[i] = clip->rects[i].BR;
1ebb4b
 		}
1ebb4b
 
1ebb4b
+		if (FR->region_clip) FR->region_clip (API,&polyrect);
1ebb4b
+
1ebb4b
 		wmf_free (API,polyrect.TL);
1ebb4b
 		wmf_free (API,polyrect.BR);
1ebb4b
 	}
1ebb4b
@@ -2593,9 +2595,10 @@
1ebb4b
 		polyrect.BR = 0;
1ebb4b
 
1ebb4b
 		polyrect.count = 0;
1ebb4b
+	
1ebb4b
+		if (FR->region_clip) FR->region_clip (API,&polyrect);
1ebb4b
 	}
1ebb4b
 
1ebb4b
-	if (FR->region_clip) FR->region_clip (API,&polyrect);
1ebb4b
 
1ebb4b
 	return (changed);
1ebb4b
 }