diff options
-rw-r--r-- | com32/hdt/hdt-cli-hdt.c | 11 | ||||
-rw-r--r-- | com32/hdt/hdt-menu-about.c | 17 | ||||
-rw-r--r-- | com32/hdt/hdt.h | 5 |
3 files changed, 13 insertions, 20 deletions
diff --git a/com32/hdt/hdt-cli-hdt.c b/com32/hdt/hdt-cli-hdt.c index 4e104eb9..b5cd5359 100644 --- a/com32/hdt/hdt-cli-hdt.c +++ b/com32/hdt/hdt-cli-hdt.c @@ -237,14 +237,13 @@ void main_show_hdt(int argc __unused, char **argv __unused, struct s_hardware *hardware __unused) { printf("HDT\n"); - printf(" Product : %s\n", PRODUCT_NAME); - printf(" Version : %s\n", VERSION); - printf(" Project Leader : %s\n", AUTHOR); - printf(" Contact : %s\n", CONTACT); - printf(" Core Developer : %s\n", CORE_DEVELOPER); + printf(" Product : %s\n", PRODUCT_NAME); + printf(" Version : %s\n", VERSION); + printf(" Author : %s\n", AUTHOR); + printf(" Contact : %s\n", CONTACT); char *contributors[NB_CONTRIBUTORS] = CONTRIBUTORS; for (int c = 0; c < NB_CONTRIBUTORS; c++) { - printf(" Contributor : %s\n", contributors[c]); + printf(" Contributor : %s\n", contributors[c]); } } diff --git a/com32/hdt/hdt-menu-about.c b/com32/hdt/hdt-menu-about.c index 04f3c9ae..f19dc361 100644 --- a/com32/hdt/hdt-menu-about.c +++ b/com32/hdt/hdt-menu-about.c @@ -39,34 +39,29 @@ void compute_aboutmenu(struct s_my_menu *menu) set_menu_pos(SUBMENU_Y, SUBMENU_X); - snprintf(buffer, sizeof buffer, "Product : %s", PRODUCT_NAME); + snprintf(buffer, sizeof buffer, "Product : %s", PRODUCT_NAME); snprintf(statbuffer, sizeof statbuffer, "Product : %s", PRODUCT_NAME); add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); menu->items_count++; - snprintf(buffer, sizeof buffer, "Version : %s", VERSION); + snprintf(buffer, sizeof buffer, "Version : %s", VERSION); snprintf(statbuffer, sizeof statbuffer, "Version : %s", VERSION); 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, "Author : %s", AUTHOR); + snprintf(statbuffer, sizeof statbuffer, "Author : %s", AUTHOR); add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); menu->items_count++; - snprintf(buffer, sizeof buffer, "Contact : %s", CONTACT); + snprintf(buffer, sizeof buffer, "Contact : %s", CONTACT); snprintf(statbuffer, sizeof statbuffer, "Contact : %s", CONTACT); 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); - add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); - menu->items_count++; - char *contributors[NB_CONTRIBUTORS] = CONTRIBUTORS; for (int c=0; c<NB_CONTRIBUTORS; c++) { - snprintf(buffer, sizeof buffer, "Contributor : %s", contributors[c]); + snprintf(buffer, sizeof buffer, "Contributor : %s", contributors[c]); snprintf(statbuffer, sizeof statbuffer, "Contributor : %s", contributors[c]); add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); menu->items_count++; diff --git a/com32/hdt/hdt.h b/com32/hdt/hdt.h index 28601e9a..e7015d02 100644 --- a/com32/hdt/hdt.h +++ b/com32/hdt/hdt.h @@ -31,11 +31,10 @@ #define PRODUCT_NAME "Hardware Detection Tool" #define AUTHOR "Erwan Velu" -#define CORE_DEVELOPER "Pierre-Alexandre Meyer" #define CONTACT "hdt@zytor.com" #define VERSION "0.3.5-pre1" -#define NB_CONTRIBUTORS 2 -#define CONTRIBUTORS {"Sebastien Gonzalve", "Gert Hulselmans"} +#define NB_CONTRIBUTORS 3 +#define CONTRIBUTORS {"Pierre-Alexandre Meyer", "Sebastien Gonzalve", "Gert Hulselmans"} #define ATTR_PACKED __attribute__((packed)) |