textbox: fix getopt_padding call
Bug introduced because of the previous fix. Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
2836c98ee5
commit
55c0163332
|
@ -150,7 +150,7 @@ luaA_textbox_margin(lua_State *L)
|
||||||
|
|
||||||
if(lua_gettop(L) == 2)
|
if(lua_gettop(L) == 2)
|
||||||
{
|
{
|
||||||
d->margin = luaA_getopt_padding(L, 3, &d->margin);
|
d->margin = luaA_getopt_padding(L, 2, &d->margin);
|
||||||
widget_invalidate_bywidget(widget);
|
widget_invalidate_bywidget(widget);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue