summaryrefslogtreecommitdiff
path: root/riscos/gif.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-04-26 13:47:51 +0000
committerJames Bursa <james@netsurf-browser.org>2004-04-26 13:47:51 +0000
commit199eee4b0bc2d825d0b48fda3644e81712a2b892 (patch)
treea04d46eee99bdc1a88bc0d176f4d81e863389549 /riscos/gif.c
parent330a3bb64c58ff12d8ac7d08de74f3064c670a75 (diff)
downloadnetsurf-199eee4b0bc2d825d0b48fda3644e81712a2b892.tar.gz
netsurf-199eee4b0bc2d825d0b48fda3644e81712a2b892.tar.bz2
[project @ 2004-04-26 13:47:51 by bursa]
Fix scaled GIF animations. svn path=/import/netsurf/; revision=805
Diffstat (limited to 'riscos/gif.c')
-rw-r--r--riscos/gif.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/riscos/gif.c b/riscos/gif.c
index 6e50889a1..63952342e 100644
--- a/riscos/gif.c
+++ b/riscos/gif.c
@@ -161,6 +161,8 @@ void nsgif_animate(void *p)
data.redraw.object = c;
data.redraw.object_x = 0;
data.redraw.object_y = 0;
+ data.redraw.object_width = c->width;
+ data.redraw.object_height = c->height;
content_broadcast(c, CONTENT_MSG_REDRAW, data);
}