Update japanese/wordpress to version 4.7
[dports.git] / japanese / tomoe / files / patch-bindings_ruby_tomoe-rb-char.c
1 --- bindings/ruby/tomoe-rb-char.c.orig  2011-07-24 02:20:26.000000000 +0000
2 +++ bindings/ruby/tomoe-rb-char.c       2011-07-24 02:22:22.000000000 +0000
3 @@ -13,7 +13,7 @@
4      if (NIL_P(xml)) {
5          chr = tomoe_char_new();
6      } else {
7 -        chr = tomoe_char_new_from_xml_data(RVAL2CSTR(xml), RSTRING(xml)->len);
8 +        chr = tomoe_char_new_from_xml_data(RVAL2CSTR(xml), RSTRING_LEN(xml));
9      }
10  
11      G_INITIALIZE(self, chr);