summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2008-11-12 15:30:38 +0100
committerBenjamin Otte <otte@gnome.org>2008-11-12 15:30:38 +0100
commit0897270a8ce2327de66c0e20b4b42816377e5708 (patch)
tree7d361700de72309ee33a42b59ae6f4e0937d2944
parent1cb0d584ac024b904ce7331702bc19103762d226 (diff)
use height as height, not width
-rw-r--r--swfdec/swfdec_bitmap_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swfdec/swfdec_bitmap_data.c b/swfdec/swfdec_bitmap_data.c
index a7b17283..8245cff5 100644
--- a/swfdec/swfdec_bitmap_data.c
+++ b/swfdec/swfdec_bitmap_data.c
@@ -244,7 +244,7 @@ swfdec_bitmap_data_get_rectangle (SwfdecAsContext *cx, SwfdecAsObject *object,
SWFDEC_AS_VALUE_SET_INT (&args[0], 0);
SWFDEC_AS_VALUE_SET_INT (&args[1], 0);
SWFDEC_AS_VALUE_SET_INT (&args[2], cairo_image_surface_get_width (bitmap->surface));
- SWFDEC_AS_VALUE_SET_INT (&args[3], cairo_image_surface_get_width (bitmap->surface));
+ SWFDEC_AS_VALUE_SET_INT (&args[3], cairo_image_surface_get_height (bitmap->surface));
swfdec_as_object_create (SWFDEC_AS_FUNCTION (o), 4, args, ret);
}