[cairo-commit] rcairo/src rb_cairo_context.c,1.17,1.18
Kouhei Sutou
commit at pdx.freedesktop.org
Sat Dec 29 03:42:29 PST 2007
- Previous message: [cairo-commit] rcairo ChangeLog,1.183,1.184 README,1.17,1.18
- Next message: [cairo-commit] cairo-perl ChangeLog, 1.80, 1.81 Cairo.xs, 1.22, 1.23 CairoFont.xs, 1.8, 1.9 CairoMatrix.xs, 1.7, 1.8 CairoSurface.xs, 1.20, 1.21
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: kou
Update of /cvs/cairo/rcairo/src
In directory kemper:/tmp/cvs-serv6360/src
Modified Files:
rb_cairo_context.c
Log Message:
* src/rb_cairo_context.c (cr_set_source_surface): fixed wrong type conversion.
Reported by Binzo. Thanks!!!
* README: updated Binzo entry in Thanks list.
Index: rb_cairo_context.c
===================================================================
RCS file: /cvs/cairo/rcairo/src/rb_cairo_context.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- rb_cairo_context.c 28 Dec 2007 07:49:05 -0000 1.17
+++ rb_cairo_context.c 29 Dec 2007 11:42:26 -0000 1.18
@@ -290,8 +290,8 @@
{
cairo_set_source_surface (_SELF,
RVAL2CRSURFACE (surface),
- NUM2INT (width),
- NUM2INT (height));
+ NUM2DBL (width),
+ NUM2DBL (height));
cr_check_status (_SELF);
rb_ivar_set (self, cr_id_source, Qnil);
return self;
- Previous message: [cairo-commit] rcairo ChangeLog,1.183,1.184 README,1.17,1.18
- Next message: [cairo-commit] cairo-perl ChangeLog, 1.80, 1.81 Cairo.xs, 1.22, 1.23 CairoFont.xs, 1.8, 1.9 CairoMatrix.xs, 1.7, 1.8 CairoSurface.xs, 1.20, 1.21
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list