From a7f6dd2b9fc3f8ad29a05135c99288156961329b Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Sun, 1 Nov 2009 13:04:05 +0100 Subject: [PATCH] Revert "hdt: Adding core developper role" This reverts commit 57689f219c5155e186ced1c9f5f972d5d0b340ed. --- com32/hdt/hdt-cli-hdt.c | 11 +++++------ com32/hdt/hdt-menu-about.c | 17 ++++++----------- 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 4e104eb..b5cd535 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 04f3c9a..f19dc36 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; citems_count++; diff --git a/com32/hdt/hdt.h b/com32/hdt/hdt.h index 28601e9..e7015d0 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)) -- 2.7.4