]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - gui.c
gui: Use version_single_line().
[paraslash.git] / gui.c
diff --git a/gui.c b/gui.c
index b874d0820c6341f124ccb9748dd91bce0a0d395b..4d2c9f72a5fe7ba303653654df82fc84d3f4ed0e 100644 (file)
--- a/gui.c
+++ b/gui.c
@@ -605,8 +605,8 @@ static void print_welcome(void)
 {
        if (loglevel > LL_NOTICE)
                return;
-       outputf(COLOR_WELCOME, "Welcome to para_gui " PACKAGE_VERSION
-               " \"" CODENAME "\". Theme: %s", theme.name);
+       outputf(COLOR_WELCOME, "Welcome to %s. Theme: %s",
+               version_single_line("gui"), theme.name);
        wclrtoeol(bot.win);
 }
 
@@ -1432,8 +1432,7 @@ static void com_enlarge_top_win(void)
 
 static void com_version(void)
 {
-       print_in_bar(COLOR_MSG, "para_gui " PACKAGE_VERSION " \""
-               CODENAME "\"");
+       print_in_bar(COLOR_MSG, "%s", version_single_line("gui"));
 }
 
 __noreturn static void com_quit(void)