summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--com32/hdt/hdt-cli-hdt.c6
-rw-r--r--com32/hdt/hdt-menu-about.c4
-rw-r--r--com32/hdt/hdt.c4
-rw-r--r--com32/hdt/hdt.h3
4 files changed, 9 insertions, 8 deletions
diff --git a/com32/hdt/hdt-cli-hdt.c b/com32/hdt/hdt-cli-hdt.c
index a99bb125..1d2418c8 100644
--- a/com32/hdt/hdt-cli-hdt.c
+++ b/com32/hdt/hdt-cli-hdt.c
@@ -193,8 +193,8 @@ static void goto_menu(int argc __unused, char** argv __unused,
struct s_hardware *hardware)
{
char version_string[256];
- snprintf(version_string, sizeof version_string, "%s %s",
- PRODUCT_NAME, VERSION);
+ snprintf(version_string, sizeof version_string, "%s %s (%s)",
+ PRODUCT_NAME, VERSION, CODENAME);
start_menu_mode(hardware, version_string);
return;
}
@@ -242,7 +242,7 @@ void main_show_hdt(int argc __unused, char **argv __unused,
reset_more_printf();
more_printf("HDT\n");
more_printf(" Product : %s\n", PRODUCT_NAME);
- more_printf(" Version : %s\n", VERSION);
+ more_printf(" Version : %s (%s)\n", VERSION, CODENAME);
more_printf(" Project Leader : %s\n", AUTHOR);
more_printf(" Contact : %s\n", CONTACT);
more_printf(" Core Developer : %s\n", CORE_DEVELOPER);
diff --git a/com32/hdt/hdt-menu-about.c b/com32/hdt/hdt-menu-about.c
index 04f3c9ae..53b58f21 100644
--- a/com32/hdt/hdt-menu-about.c
+++ b/com32/hdt/hdt-menu-about.c
@@ -44,8 +44,8 @@ void compute_aboutmenu(struct s_my_menu *menu)
add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);
menu->items_count++;
- snprintf(buffer, sizeof buffer, "Version : %s", VERSION);
- snprintf(statbuffer, sizeof statbuffer, "Version : %s", VERSION);
+ snprintf(buffer, sizeof buffer, "Version : %s (%s)", VERSION, CODENAME);
+ snprintf(statbuffer, sizeof statbuffer, "Version : %s (%s)", VERSION,CODENAME);
add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);
menu->items_count++;
diff --git a/com32/hdt/hdt.c b/com32/hdt/hdt.c
index 3a2c4400..ee3e7cf3 100644
--- a/com32/hdt/hdt.c
+++ b/com32/hdt/hdt.c
@@ -48,8 +48,8 @@ int main(const int argc, const char *argv[])
const char *arg;
struct s_hardware hardware;
- snprintf(version_string, sizeof version_string, "%s %s",
- PRODUCT_NAME,VERSION);
+ snprintf(version_string, sizeof version_string, "%s %s (%s)",
+ PRODUCT_NAME,VERSION, CODENAME);
/* Opening the Syslinux console */
console_ansi_raw();
diff --git a/com32/hdt/hdt.h b/com32/hdt/hdt.h
index 28601e9a..9fb94419 100644
--- a/com32/hdt/hdt.h
+++ b/com32/hdt/hdt.h
@@ -33,7 +33,8 @@
#define AUTHOR "Erwan Velu"
#define CORE_DEVELOPER "Pierre-Alexandre Meyer"
#define CONTACT "hdt@zytor.com"
-#define VERSION "0.3.5-pre1"
+#define VERSION "0.3.5-pre2"
+#define CODENAME "mojito"
#define NB_CONTRIBUTORS 2
#define CONTRIBUTORS {"Sebastien Gonzalve", "Gert Hulselmans"}