diff nodejs/shapes.m4 @ 689:a05a4a27ff46

Fix bug of losting rdman in xnjsmb_sh_stext_set_style
author Thinker K.F. Li <thinker@branda.to>
date Sat, 07 Aug 2010 22:33:02 +0800
parents 7685c57e29d0
children 86c6ebf1de25
line wrap: on
line diff
--- a/nodejs/shapes.m4	Sat Aug 07 22:28:17 2010 +0800
+++ b/nodejs/shapes.m4	Sat Aug 07 22:33:02 2010 +0800
@@ -12,7 +12,7 @@
 STRUCT([stext], [shape_t], [],
        [METHOD([set_text], [sh_stext_set_text], (STR([txt])), 1, []),
         METHOD([set_style], [xnjsmb_sh_stext_set_style],
-	       (ARRAY([blks]), ERR), 1, [])],
+	       (SELF, ARRAY([blks]), ERR), 1, [])],
        (([INHERIT], [shape])))
 
 STRUCT([image], [shape_t], [], [], (([INHERIT], [shape])))