fixed a crash when preferences are set and message window is hidden

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@171 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2006-02-06 06:30:59 +00:00
parent ced5135650
commit 4f9aec2d51

View File

@ -262,7 +262,7 @@ void vte_apply_user_settings(void)
vf->vte_terminal_set_scroll_on_keystroke(VTE_TERMINAL(vc->vte), vc->scroll_on_key); vf->vte_terminal_set_scroll_on_keystroke(VTE_TERMINAL(vc->vte), vc->scroll_on_key);
vf->vte_terminal_set_scroll_on_output(VTE_TERMINAL(vc->vte), vc->scroll_on_out); vf->vte_terminal_set_scroll_on_output(VTE_TERMINAL(vc->vte), vc->scroll_on_out);
vf->vte_terminal_set_emulation(VTE_TERMINAL(vc->vte), vc->emulation); vf->vte_terminal_set_emulation(VTE_TERMINAL(vc->vte), vc->emulation);
vf->vte_terminal_set_font_from_string(VTE_TERMINAL(vc->vte), vc->font); if (app->msgwindow_visible) vf->vte_terminal_set_font_from_string(VTE_TERMINAL(vc->vte), vc->font);
vf->vte_terminal_set_color_foreground(VTE_TERMINAL(vc->vte), vc->color_fore); vf->vte_terminal_set_color_foreground(VTE_TERMINAL(vc->vte), vc->color_fore);
vf->vte_terminal_set_color_background(VTE_TERMINAL(vc->vte), vc->color_back); vf->vte_terminal_set_color_background(VTE_TERMINAL(vc->vte), vc->color_back);
} }