From c1f943631f518390869220966cfd10dfa4278165 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 5 Sep 2013 22:13:35 -0400 Subject: Renamed `ui.docstatusbar_text` to `ui.bufstatusbar_text`. --- src/textadept.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/textadept.c b/src/textadept.c index 355ad03d..d8f7d097 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -964,10 +964,10 @@ static int lui__newindex(lua_State *L) { #endif } else if (strcmp(key, "clipboard_text") == 0) luaL_argerror(L, 3, "read-only property"); - else if (strcmp(key, "docstatusbar_text") == 0) - set_statusbar_text(lua_tostring(L, 3), 1); else if (strcmp(key, "statusbar_text") == 0) set_statusbar_text(lua_tostring(L, 3), 0); + else if (strcmp(key, "bufstatusbar_text") == 0) + set_statusbar_text(lua_tostring(L, 3), 1); else if (strcmp(key, "menubar") == 0) { #if GTK luaL_argcheck(L, lua_istable(L, 3), 3, "table of menus expected"); -- cgit v1.2.3