[cairo-commit] rcairo/src rb_cairo_private.c,1.9,1.10
Kouhei Sutou
commit at pdx.freedesktop.org
Sat Aug 16 23:04:53 PDT 2008
Committed by: kou
Update of /cvs/cairo/rcairo/src
In directory kemper:/tmp/cvs-serv19350/src
Modified Files:
rb_cairo_private.c
Log Message:
* src/rb_cairo_private.c (rb_cairo__glyphs_from_ruby_object)
(rb_cairo__text_clusters_from_ruby_object): set -1 to *num_XXX instead of 0.
Index: rb_cairo_private.c
===================================================================
RCS file: /cvs/cairo/rcairo/src/rb_cairo_private.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- rb_cairo_private.c 16 Aug 2008 12:52:16 -0000 1.9
+++ rb_cairo_private.c 17 Aug 2008 06:04:50 -0000 1.10
@@ -153,7 +153,7 @@
if (NIL_P (rb_glyphs))
{
- *num_glyphs = 0;
+ *num_glyphs = -1;
return;
}
@@ -195,7 +195,7 @@
if (NIL_P (rb_clusters))
{
- *num_clusters = 0;
+ *num_clusters = -1;
return;
}
More information about the cairo-commit
mailing list