[cairo-commit:00149] rcairo/rcairo [master] Remove self from error message
null+rcairo at clear-code.com
null+rcairo at clear-code.com
Tue Mar 20 14:42:31 UTC 2012
Kouhei Sutou 2012-03-20 23:42:31 +0900 (Tue, 20 Mar 2012)
New Revision: e35306641acf96d529b84f3044a5139e0437edbb
Log:
Remove self from error message
Modified files:
ext/cairo/rb_cairo_pattern.c
Modified: ext/cairo/rb_cairo_pattern.c (+1 -1)
===================================================================
--- ext/cairo/rb_cairo_pattern.c 2012-03-20 23:38:51 +0900 (849d558)
+++ ext/cairo/rb_cairo_pattern.c 2012-03-20 23:42:31 +0900 (e91e520)
@@ -543,7 +543,7 @@ cr_mesh_pattern_set_control_point (VALUE self, VALUE rb_nth_point,
{
VALUE inspected;
- inspected = rb_funcall (rb_ary_new3 (4, self, rb_nth_point, rb_x, rb_y),
+ inspected = rb_funcall (rb_ary_new3 (3, rb_nth_point, rb_x, rb_y),
id_inspect, 0);
rb_raise (rb_eArgError, "nth_point must be 0, 1, 2 or 3: <%u>: <%s>",
nth_point, RVAL2CSTR (inspected));
More information about the cairo-commit
mailing list