Display the program version in the main menu for debug builds.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
}
m->hot_key = ps3_hot_key;
}
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");
m->scr.frame.title = talloc_strdup(m, "Petitboot PS3");
m->scr.frame.help = talloc_strdup(m,
"ESC=exit, Enter=accept, E,e=edit");
m->scr.frame.status = talloc_strdup(m, "Welcome to Petitboot");
m->scr.frame.help = talloc_strdup(m,
"ESC=exit, Enter=accept, E,e=edit");
m->scr.frame.status = talloc_strdup(m, "Welcome to Petitboot");