X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fswfc.c;h=3901cd0fdc995cfbe247fbf85450ac5e5ad449b4;hb=9ad02f173cca3f7c0d51f641d0d668219a561e7d;hp=b1b14026ef03bef056c860b515a0bf31e9a6ef16;hpb=58beb064a7369429483e1a3dcd058cbf68074cfc;p=swftools.git diff --git a/src/swfc.c b/src/swfc.c index b1b1402..3901cd0 100644 --- a/src/swfc.c +++ b/src/swfc.c @@ -901,7 +901,7 @@ void s_text(char*name, char*fontname, char*text, int size, RGBA color) s_box(name, 0, 0, black, 20, 0); return; } - r = swf_SetDefineText(tag, font, &color, text, size); + r = swf_SetDefineText(tag, font, &color, text, size, 0); s_addcharacter(name, id, tag, r); incrementid(); @@ -2512,7 +2512,7 @@ static struct { {"show", c_show, "name x=0 y=0 red=+0 green=+0 blue=+0 alpha=+0 luminance= scale= scalex= scaley= pivot= pin= shear= rotate= ratio= above= below= as="}, {"on_press", c_on_press, "position=inside"}, {"on_release", c_on_release, "position=anywhere"}, - {"on_move_in", c_on_move_out, "state=not_pressed"}, + {"on_move_in", c_on_move_in, "state=not_pressed"}, {"on_move_out", c_on_move_out, "state=not_pressed"}, {"on_key", c_on_key, "key=any"},