[cairo-commit] rcairo/src rb_cairo_surface.c,1.10,1.11

Kouhei Sutou commit at pdx.freedesktop.org
Sun May 20 04:44:59 PDT 2007


Committed by: kou

Update of /cvs/cairo/rcairo/src
In directory kemper:/tmp/cvs-serv12632/src

Modified Files:
	rb_cairo_surface.c 
Log Message:
* src/rb_cairo_surface.c (cr_win32_surface_initialize): fixed a
  typo. Thanks to Yoshinao Muramatsu!


Index: rb_cairo_surface.c
===================================================================
RCS file: /cvs/cairo/rcairo/src/rb_cairo_surface.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- rb_cairo_surface.c	20 May 2007 09:18:49 -0000	1.10
+++ rb_cairo_surface.c	20 May 2007 11:44:48 -0000	1.11
@@ -728,7 +728,6 @@
 cr_win32_surface_initialize (int argc, VALUE *argv, VALUE self)
 {
   cairo_surface_t *surface = NULL;
-  cairo_format_t cr_format;
   VALUE arg1, arg2, arg3, arg4;
   VALUE hdc, format, width, height;
 
@@ -742,7 +741,7 @@
       break;
     case 2:
       width = arg1;
-      height = arg3;
+      height = arg2;
       surface = cairo_win32_surface_create_with_dib (CAIRO_FORMAT_ARGB32,
                                                      NUM2INT (width),
                                                      NUM2INT (height));



More information about the cairo-commit mailing list