about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-07-16 23:23:11 +0100
committerJames Booth <boothj5@gmail.com>2014-07-16 23:23:11 +0100
commitd2d15ca76b12709cbe27e7572f6e723ff79f0a23 (patch)
treead9d015bf9befb9b84e230d69d4d1f2a55dacce9
parenta4edc12d80bb6cda26e34595e3a6249eda433b9f (diff)
downloadprofani-tty-d2d15ca76b12709cbe27e7572f6e723ff79f0a23.tar.gz
Removed newlines from splash logo version output
-rw-r--r--src/ui/console.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index 077ab379..b80de834 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -1534,12 +1534,12 @@ _cons_splash_logo(void)
 
     if (strcmp(PACKAGE_STATUS, "development") == 0) {
 #ifdef HAVE_GIT_VERSION
-        win_save_vprint(console, '-', NULL, 0, 0, "", "Version %sdev.%s.%s\n", PACKAGE_VERSION, PROF_GIT_BRANCH, PROF_GIT_REVISION);
+        win_save_vprint(console, '-', NULL, 0, 0, "", "Version %sdev.%s.%s", PACKAGE_VERSION, PROF_GIT_BRANCH, PROF_GIT_REVISION);
 #else
-        win_save_vprint(console, '-', NULL, 0, 0, "", "Version %sdev\n", PACKAGE_VERSION);
+        win_save_vprint(console, '-', NULL, 0, 0, "", "Version %sdev", PACKAGE_VERSION);
 #endif
     } else {
-        win_save_vprint(console, '-', NULL, 0, 0, "", "Version %s\n", PACKAGE_VERSION);
+        win_save_vprint(console, '-', NULL, 0, 0, "", "Version %s", PACKAGE_VERSION);
     }
 }