[titlebar] Fix inconsitent API with text*

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-05-23 16:39:35 +02:00
parent ab12599eba
commit 8bba0ba76a
1 changed files with 3 additions and 3 deletions

View File

@ -412,9 +412,9 @@ luaA_titlebar_new(lua_State *L)
*tb = p_new(titlebar_t, 1); *tb = p_new(titlebar_t, 1);
objpos = lua_gettop(L); objpos = lua_gettop(L);
(*tb)->text_normal = a_strdup(luaA_getopt_string(L, 1, "normal", "<title/>")); (*tb)->text_normal = a_strdup(luaA_getopt_string(L, 1, "text_normal", "<title/>"));
(*tb)->text_focus = a_strdup(luaA_getopt_string(L, 1, "focus", "<title/>")); (*tb)->text_focus = a_strdup(luaA_getopt_string(L, 1, "text_focus", "<title/>"));
(*tb)->text_urgent = a_strdup(luaA_getopt_string(L, 1, "urgent", "<title/>")); (*tb)->text_urgent = a_strdup(luaA_getopt_string(L, 1, "text_urgent", "<title/>"));
(*tb)->align = draw_align_get_from_str(luaA_getopt_string(L, 1, "align", "left")); (*tb)->align = draw_align_get_from_str(luaA_getopt_string(L, 1, "align", "left"));