diff options
author | Will Song <incertia9474@gmail.com> | 2015-01-08 10:06:39 -0600 |
---|---|---|
committer | Will Song <incertia9474@gmail.com> | 2015-01-08 10:06:39 -0600 |
commit | 22a8d7a8a3b340b0a371b27727a684d942a8c369 (patch) | |
tree | 90faf37b3b6b83a83ac15c6320fd09654c5548b8 /src | |
parent | 89aaaddfbb0ba818111b3f1faf6c4478545dd3e7 (diff) | |
download | profani-tty-22a8d7a8a3b340b0a371b27727a684d942a8c369.tar.gz |
check preferences before printing exit title
Diffstat (limited to 'src')
-rw-r--r-- | src/profanity.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/profanity.c b/src/profanity.c index c86a5475..8e5f6689 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -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(); |