about summary refs log tree commit diff stats
path: root/src/ui/titlebar.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-01-16 19:47:00 +0000
committerJames Booth <boothj5@gmail.com>2014-01-16 19:47:00 +0000
commit69a63bd225748eafaeb43ea2d76186ed03dcbced (patch)
tree5111f55c69298f1c5987afb794feb1dec7d17486 /src/ui/titlebar.c
parent2911093240f553c9b9652d230d6a826c9f09cdc8 (diff)
downloadprofani-tty-69a63bd225748eafaeb43ea2d76186ed03dcbced.tar.gz
Added constant for console title
Diffstat (limited to 'src/ui/titlebar.c')
-rw-r--r--src/ui/titlebar.c4
1 files changed, 3 insertions, 1 deletions
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();
 }