From 69a63bd225748eafaeb43ea2d76186ed03dcbced Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 16 Jan 2014 19:47:00 +0000 Subject: [PATCH] Added constant for console title --- src/ui/titlebar.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/titlebar.c b/src/ui/titlebar.c index 0daa4d32..16228410 100644 --- a/src/ui/titlebar.c +++ b/src/ui/titlebar.c @@ -27,6 +27,8 @@ #include "config/theme.h" #include "ui/ui.h" +#define CONSOLE_TITLE "Profanity. Type /help for help information." + static WINDOW *win; static char *current_title = NULL; static char *current_recipient = NULL; @@ -55,7 +57,7 @@ _title_bar_console(void) typing_elapsed = NULL; free(current_title); - current_title = strdup("Profanity. Type /help for help information."); + current_title = strdup(CONSOLE_TITLE); title_bar_draw(); }