projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d60dae8
)
gui: Use version_single_line().
author
Andre Noll
<maan@systemlinux.org>
Mon, 20 May 2013 20:12:40 +0000
(22:12 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Thu, 13 Jun 2013 16:29:03 +0000
(18:29 +0200)
No need to reinvent the wheel.
gui.c
patch
|
blob
|
history
diff --git
a/gui.c
b/gui.c
index
b874d08
..
4d2c9f7
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)