about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-04-20 01:06:19 +0100
committerJames Booth <boothj5@gmail.com>2012-04-20 01:06:19 +0100
commit6e24995e91ca68244fded5e4ef396a0a61f1b2ae (patch)
treef513586e22e0ae80158864aee3caa28e2c4ecc07
parent92adad21007fdb40d853d34eca157e6a8d6496b0 (diff)
downloadprofani-tty-6e24995e91ca68244fded5e4ef396a0a61f1b2ae.tar.gz
Use string literal in titlebar
-rw-r--r--title_bar.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/title_bar.c b/title_bar.c
index 08ac44f5..ee6aa575 100644
--- a/title_bar.c
+++ b/title_bar.c
@@ -40,8 +40,7 @@ void create_title_bar(void)
 
 void title_bar_title(void)
 {
-    char *title = "Profanity. Type /help for help information.";
-    title_bar_show(title);
+    title_bar_show("Profanity. Type /help for help information.");
     dirty = TRUE;
 }