From 9905b62369f9bcbac3e779a4fc0759ceb1539df4 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 5 Jan 2014 05:03:32 +0000 Subject: [PATCH] gui: Remove macro STANDARD_STATUS_BAR. It's only referenced once in print_status_bar(), so we may as well print the text there without defining a macro for it. --- gui.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gui.c b/gui.c index e03fb287..6263c920 100644 --- a/gui.c +++ b/gui.c @@ -30,8 +30,6 @@ INIT_GUI_ERRLISTS; static char *stat_content[NUM_STAT_ITEMS]; -#define STANDARD_STATUS_BAR "para_gui " PACKAGE_VERSION " (hit ? for help)" - static int signal_pipe; static struct gui_window { @@ -371,7 +369,7 @@ static void print_status_bar(void) if (!curses_active) return; - tmp = para_strdup(STANDARD_STATUS_BAR); + tmp = para_strdup("para_gui " PACKAGE_VERSION " (hit ? for help)"); wmove(sb.win, 0, 0); align_str(sb.win, tmp, sb.cols, CENTER); free(tmp); -- 2.39.5