aboutsummaryrefslogtreecommitdiffhomepage
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 0e028291..e79e5509 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -989,12 +989,12 @@ static int lgui__newindex(lua_State *L) {
gtk_widget_hide(new_menubar);
#endif
#endif
- } else if (strcmp(key, "maximized") == 0)
+ } else if (strcmp(key, "maximized") == 0) {
#if GTK
lua_toboolean(L, 3) ? gtk_window_maximize(GTK_WINDOW(window))
: gtk_window_unmaximize(GTK_WINDOW(window));
#endif
- else if (strcmp(key, "size") == 0) {
+ } else if (strcmp(key, "size") == 0) {
#if GTK
luaL_argcheck(L, lua_istable(L, 3) && lua_rawlen(L, 3) == 2, 3,
"{ width, height } table expected");