aboutsummaryrefslogtreecommitdiff
path: root/japanese/ruby-ming/files/patch-ext-ming-ming-swfdisplayitem.c
blob: 4f0cc2ccbcec070facdaf118f199f6c0909568ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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;
 }