From 067c26eeea871fabeb2b475b8e6d3c7efe1d5180 Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 7 Oct 2013 01:35:20 +0100 Subject: [PATCH] Tidy _ui_draw_win_title --- src/ui/core.c | 11 ++++++++--- 1 file 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);