summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-12-04 16:58:12 +0100
committerErwan Velu <erwan.velu@free.fr>2009-12-04 16:58:12 +0100
commit9b40045d346d745850fb6f37656ea664b1f9021c (patch)
tree8a5602b0bc90c44f517787c8a54c3ec3cf2d8455
parent9918c3cb0b0302518374bddb4e40a501b72a6720 (diff)
downloadsyslinux-9b40045d346d745850fb6f37656ea664b1f9021c.tar.gz
hdt: Fixing about menu & show hdt
Impact: visual Let's add website, rename contact to mailing list and put all people together
-rw-r--r--com32/hdt/hdt-cli-hdt.c3
-rw-r--r--com32/hdt/hdt-menu-about.c15
-rw-r--r--com32/hdt/hdt.h1
3 files changed, 14 insertions, 5 deletions
diff --git a/com32/hdt/hdt-cli-hdt.c b/com32/hdt/hdt-cli-hdt.c
index 71d99a4f..65bb4444 100644
--- a/com32/hdt/hdt-cli-hdt.c
+++ b/com32/hdt/hdt-cli-hdt.c
@@ -230,8 +230,9 @@ void main_show_hdt(int argc __unused, char **argv __unused,
more_printf("HDT\n");
more_printf(" Product : %s\n", PRODUCT_NAME);
more_printf(" Version : %s (%s)\n", VERSION, CODENAME);
+ more_printf(" Website : %s\n", WEBSITE_URL);
+ more_printf(" Mailing List : %s\n", CONTACT);
more_printf(" Project Leader : %s\n", AUTHOR);
- more_printf(" Contact : %s\n", CONTACT);
more_printf(" Core Developer : %s\n", CORE_DEVELOPER);
char *contributors[NB_CONTRIBUTORS] = CONTRIBUTORS;
for (int c = 0; c < NB_CONTRIBUTORS; c++) {
diff --git a/com32/hdt/hdt-menu-about.c b/com32/hdt/hdt-menu-about.c
index 19e5cb0d..1e8a6ff1 100644
--- a/com32/hdt/hdt-menu-about.c
+++ b/com32/hdt/hdt-menu-about.c
@@ -51,16 +51,23 @@ void compute_aboutmenu(struct s_my_menu *menu)
add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);
menu->items_count++;
- snprintf(buffer, sizeof buffer, "Project Leader : %s", AUTHOR);
- snprintf(statbuffer, sizeof statbuffer, "Project Leader : %s", AUTHOR);
+ snprintf(buffer, sizeof buffer, "Website : %s", WEBSITE_URL);
+ snprintf(statbuffer, sizeof statbuffer, "Website : %s",WEBSITE_URL);
add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);
menu->items_count++;
- snprintf(buffer, sizeof buffer, "Contact : %s", CONTACT);
- snprintf(statbuffer, sizeof statbuffer, "Contact : %s", CONTACT);
+ snprintf(buffer, sizeof buffer, "Mailing List : %s", CONTACT);
+ snprintf(statbuffer, sizeof statbuffer, "Mailing List: %s", CONTACT);
add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);
menu->items_count++;
+ add_item("", "", OPT_SEP, "", 0);
+
+ snprintf(buffer, sizeof buffer, "Project Leader : %s", AUTHOR);
+ snprintf(statbuffer, sizeof statbuffer, "Project Leader : %s", AUTHOR);
+ add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);
+ menu->items_count++;
+
snprintf(buffer, sizeof buffer, "Core Developer : %s", CORE_DEVELOPER);
snprintf(statbuffer, sizeof statbuffer, "Core Developer : %s",
CORE_DEVELOPER);
diff --git a/com32/hdt/hdt.h b/com32/hdt/hdt.h
index f84f3a05..dc13d10a 100644
--- a/com32/hdt/hdt.h
+++ b/com32/hdt/hdt.h
@@ -37,6 +37,7 @@
#define CODENAME "bluelabel"
#define NB_CONTRIBUTORS 3
#define CONTRIBUTORS {"Sebastien Gonzalve (Patches)", "Gert Hulselmans (Tests)", "Alexander Andino (Design)"}
+#define WEBSITE_URL "http://hdt-project.org"
#define ATTR_PACKED __attribute__((packed))