aboutsummaryrefslogtreecommitdiff
path: root/src/textadept.c
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-09-05 22:13:35 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-09-05 22:13:35 -0400
commitc1f943631f518390869220966cfd10dfa4278165 (patch)
treed0034ae169e86f558577783a03e4fe4139dcc4b9 /src/textadept.c
parent0d09f7cdc7b8ef2ac18eb91ee07031f6a006ce5e (diff)
downloadtextadept-c1f943631f518390869220966cfd10dfa4278165.tar.gz
textadept-c1f943631f518390869220966cfd10dfa4278165.zip
Renamed `ui.docstatusbar_text` to `ui.bufstatusbar_text`.
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");