summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-06-07 15:52:16 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-06-07 15:52:16 +0000
commitb2a7ac4686523e380190e075fd8d9d5b1dc2aa5c (patch)
treea1fc54ba07485e8d079a8335d0406ed154b9ff17 /src
parent80cc61b63f7ebd51dacf3d13b0dbd6205b5625e4 (diff)
downloadirssi-b2a7ac4686523e380190e075fd8d9d5b1dc2aa5c.zip
irsis --dummy fixed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2850 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-text/irssi.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c
index 00f5fdc5..9a5132dc 100644
--- a/src/fe-text/irssi.c
+++ b/src/fe-text/irssi.c
@@ -177,9 +177,11 @@ static void textui_finish_init(void)
gui_windows_init();
statusbar_init();
term_refresh_thaw();
+
+ /* don't check settings with dummy mode */
+ settings_check();
}
- settings_check();
module_register("core", "fe-text");
#ifdef HAVE_STATIC_PERL
@@ -347,9 +349,9 @@ int main(int argc, char **argv)
/* Does the same as g_main_run(main_loop), except we
can call our dirty-checker after each iteration */
while (!quitting) {
- term_refresh_freeze();
+ if (!dummy) term_refresh_freeze();
g_main_iteration(TRUE);
- term_refresh_thaw();
+ if (!dummy) term_refresh_thaw();
if (reload_config) {
/* SIGHUP received, do /RELOAD */