[cairo-commit] rcairo/packages/cairo/ext rb_cairo.c,1.11,1.12

Kouhei Sutou commit at pdx.freedesktop.org
Mon May 1 22:57:18 PDT 2006


Committed by: kou

Update of /cvs/cairo/rcairo/packages/cairo/ext
In directory kemper:/tmp/cvs-serv25478/packages/cairo/ext

Modified Files:
	rb_cairo.c 
Log Message:
* packages/cairo/ext/rb_cairo.c (Cairo::MINOR_VERSION): fixed
  cairo_version() decoding bug.


Index: rb_cairo.c
===================================================================
RCS file: /cvs/cairo/rcairo/packages/cairo/ext/rb_cairo.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- rb_cairo.c	10 Oct 2005 16:07:16 -0000	1.11
+++ rb_cairo.c	2 May 2006 05:57:16 -0000	1.12
@@ -46,7 +46,7 @@
                                 INT2FIX (CAIRO_VERSION_MICRO)));
 
   major = cairo_version () / 10000;
-  minor = (cairo_version () % 1000) / 10;
+  minor = (cairo_version () % 10000) / 100;
   micro = cairo_version () % 10;
 
   rb_define_const (rb_mCairo, "VERSION",



More information about the cairo-commit mailing list