From 764b4382266a88ea82758d51db38107eba68e866 Mon Sep 17 00:00:00 2001
From: kramm <kramm>
Date: Fri, 29 Apr 2005 08:45:50 +0000
Subject: [PATCH] fixed a bug occuring when shapes are entirely outside of the
 viewport

---
 lib/modules/swfrender.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/modules/swfrender.c b/lib/modules/swfrender.c
index 237b449..e085937 100644
--- a/lib/modules/swfrender.c
+++ b/lib/modules/swfrender.c
@@ -832,6 +832,8 @@ void swf_Process(RENDERBUF*dest, U32 clipdepth)
                 endx = i->width2;
             if(startx < 0)
                 startx = 0;
+            if(endx < 0)
+                endx = 0;
 
 	    if(clipdepth) {
 		/* for clipping, the inverse is filled */
-- 
1.7.10.4