diff options
author | James Booth <boothj5@gmail.com> | 2013-10-07 01:35:20 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-10-07 01:35:20 +0100 |
commit | 067c26eeea871fabeb2b475b8e6d3c7efe1d5180 (patch) | |
tree | 17b6413b7b47753fe54ead9d2b1bdeaea3fd42ed /src/ui/core.c | |
parent | 4cbfd5f0f989a2b34c00f349074982d4de414c59 (diff) | |
download | profani-tty-067c26eeea871fabeb2b475b8e6d3c7efe1d5180.tar.gz |
Tidy _ui_draw_win_title
Diffstat (limited to 'src/ui/core.c')
-rw-r--r-- | src/ui/core.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/ui/core.c b/src/ui/core.c index 57155e03..7374bda7 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -1359,12 +1359,17 @@ _ui_draw_win_title(void) gint unread = ui_unread(); if (unread != 0) { - snprintf(new_win_title, sizeof(new_win_title), "%c]0;%s%s (%d) - %s%c", '\033', "Profanity", version_str->str, unread, jid, '\007'); + snprintf(new_win_title, sizeof(new_win_title), + "%c]0;%s%s (%d) - %s%c", '\033', "Profanity", version_str->str, + unread, jid, '\007'); } else { - snprintf(new_win_title, sizeof(new_win_title), "%c]0;%s%s - %s%c", '\033', "Profanity", version_str->str, jid, '\007'); + snprintf(new_win_title, sizeof(new_win_title), + "%c]0;%s%s - %s%c", '\033', "Profanity", version_str->str, jid, + '\007'); } } else { - snprintf(new_win_title, sizeof(new_win_title), "%c]0;%s%s%c", '\033', "Profanity", version_str->str, '\007'); + snprintf(new_win_title, sizeof(new_win_title), "%c]0;%s%s%c", '\033', + "Profanity", version_str->str, '\007'); } g_string_free(version_str, TRUE); |