1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

check preferences before printing exit title

This commit is contained in:
Will Song 2015-01-08 10:06:39 -06:00
parent 89aaaddfbb
commit 22a8d7a8a3
No known key found for this signature in database
GPG Key ID: AF0CA153EA5D9C7C

View File

@ -290,7 +290,8 @@ _init(const int disable_tls, char *log_level)
static void
_shutdown(void)
{
ui_goodbye_title();
if(prefs_get_boolean(PREF_TITLEBAR) && prefs_get_boolean(PREF_EXIT_TITLE))
ui_goodbye_title();
ui_close_all_wins();
jabber_disconnect();
jabber_shutdown();