projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
192291b
)
Display version on debug builds
author
Geoff Levand
<geoffrey.levand@am.sony.com>
Thu, 9 Jul 2009 17:40:44 +0000
(10:40 -0700)
committer
Geoff Levand
<geoffrey.levand@am.sony.com>
Thu, 9 Jul 2009 17:40:44 +0000
(10:40 -0700)
Display the program version in the main menu for debug builds.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
ui/ncurses/ps3-cui.c
patch
|
blob
|
history
diff --git
a/ui/ncurses/ps3-cui.c
b/ui/ncurses/ps3-cui.c
index 71a21778fb79f37e8107acefadc913e3562ed283..62ca7fa7b5d5becb42dd986916818836bcc0f8db 100644
(file)
--- a/
ui/ncurses/ps3-cui.c
+++ b/
ui/ncurses/ps3-cui.c
@@
-327,7
+327,12
@@
static struct pmenu *ps3_mm_init(struct ps3_cui *ps3_cui)
}
m->hot_key = ps3_hot_key;
+#if defined(DEBUG)
+ m->scr.frame.title = talloc_strdup(m,
+ "Petitboot PS3 (ver " PACKAGE_VERSION ")");
+#else
m->scr.frame.title = talloc_strdup(m, "Petitboot PS3");
+#endif
m->scr.frame.help = talloc_strdup(m,
"ESC=exit, Enter=accept, E,e=edit");
m->scr.frame.status = talloc_strdup(m, "Welcome to Petitboot");