summaryrefslogtreecommitdiff
path: root/japanese/ruby-ming/files/patch-ext-ming-ming-swfdisplayitem.c
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/ruby-ming/files/patch-ext-ming-ming-swfdisplayitem.c')
-rw-r--r--japanese/ruby-ming/files/patch-ext-ming-ming-swfdisplayitem.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/japanese/ruby-ming/files/patch-ext-ming-ming-swfdisplayitem.c b/japanese/ruby-ming/files/patch-ext-ming-ming-swfdisplayitem.c
new file mode 100644
index 000000000000..4f0cc2ccbcec
--- /dev/null
+++ b/japanese/ruby-ming/files/patch-ext-ming-ming-swfdisplayitem.c
@@ -0,0 +1,11 @@
+--- ext/ming/ming/swfdisplayitem.c.orig 2003-09-28 14:40:42.000000000 +0900
++++ ext/ming/ming/swfdisplayitem.c 2014-01-29 17:11:21.000000000 +0900
+@@ -190,7 +190,7 @@
+ struct RSWFDisplayItem *i;
+
+ Data_Get_Struct(self, struct RSWFDisplayItem, i);
+- SWFDisplayItem_setName(i->this, STR2CSTR(n));
++ SWFDisplayItem_setName(i->this, StringValuePtr(n));
+
+ return self;
+ }