From: Andre Noll Date: Sun, 5 Jan 2014 05:03:32 +0000 (+0000) Subject: gui: Remove macro STANDARD_STATUS_BAR. X-Git-Tag: v0.5.3~12^2~38 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=9905b62369f9bcbac3e779a4fc0759ceb1539df4 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. --- 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);