aboutsummaryrefslogtreecommitdiff
path: root/src/textadept.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/textadept.c')
-rw-r--r--src/textadept.c4
1 files changed, 2 insertions, 2 deletions
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");