diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/curses/gui-curses-keyboard.c | 4 | ||||
-rw-r--r-- | src/gui/curses/gui-curses-main.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/curses/gui-curses-keyboard.c b/src/gui/curses/gui-curses-keyboard.c index 53c15be90..42ad87686 100644 --- a/src/gui/curses/gui-curses-keyboard.c +++ b/src/gui/curses/gui-curses-keyboard.c @@ -349,7 +349,7 @@ gui_keyboard_read_cb (void *data) /* no data on stdin, terminal lost */ log_printf (_("Terminal lost, exiting WeeChat...")); hook_signal_send ("quit", WEECHAT_HOOK_SIGNAL_STRING, NULL); - quit_weechat = 1; + weechat_quit = 1; return WEECHAT_RC_OK; } if (ret <= 0) @@ -371,7 +371,7 @@ gui_keyboard_read_cb (void *data) /* no data on stdin, terminal lost */ log_printf (_("Terminal lost, exiting WeeChat...")); hook_signal_send ("quit", WEECHAT_HOOK_SIGNAL_STRING, NULL); - quit_weechat = 1; + weechat_quit = 1; return WEECHAT_RC_OK; } if (ret < 0) diff --git a/src/gui/curses/gui-curses-main.c b/src/gui/curses/gui-curses-main.c index a0347361b..fbca128a0 100644 --- a/src/gui/curses/gui-curses-main.c +++ b/src/gui/curses/gui-curses-main.c @@ -163,7 +163,7 @@ gui_main_signal_sigquit () log_printf (_("Signal %s received, exiting WeeChat..."), "SIGQUIT"); hook_signal_send ("quit", WEECHAT_HOOK_SIGNAL_STRING, NULL); - quit_weechat = 1; + weechat_quit = 1; } /* @@ -176,7 +176,7 @@ gui_main_signal_sigterm () log_printf (_("Signal %s received, exiting WeeChat..."), "SIGTERM"); hook_signal_send ("quit", WEECHAT_HOOK_SIGNAL_STRING, NULL); - quit_weechat = 1; + weechat_quit = 1; } /* @@ -219,7 +219,7 @@ gui_main_loop () int max_fd; int ready; - quit_weechat = 0; + weechat_quit = 0; /* catch SIGTERM signal: quit program */ util_catch_signal (SIGTERM, &gui_main_signal_sigterm); @@ -235,7 +235,7 @@ gui_main_loop () hook_fd_keyboard = hook_fd (NULL, STDIN_FILENO, 1, 0, 0, &gui_keyboard_read_cb, NULL); - while (!quit_weechat) + while (!weechat_quit) { /* reload config, if SIGHUP reveived */ if (gui_reload_config) |