hdt: Adding core developper role
authorErwan Velu <erwan.velu@free.fr>
Sun, 1 Nov 2009 11:46:48 +0000 (12:46 +0100)
committerErwan Velu <erwan.velu@free.fr>
Sun, 1 Nov 2009 11:46:48 +0000 (12:46 +0100)
Impact: Visual

Pierre is more than a contributor ;)

com32/hdt/hdt-cli-hdt.c
com32/hdt/hdt-menu-about.c
com32/hdt/hdt.h

index b5cd535..4e104eb 100644 (file)
@@ -237,13 +237,14 @@ 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(" Author      : %s\n", AUTHOR);
-       printf(" Contact     : %s\n", CONTACT);
+       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);
        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]);
        }
 }
 
index f19dc36..04f3c9a 100644 (file)
@@ -39,29 +39,34 @@ 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, "Author      : %s", AUTHOR);
-  snprintf(statbuffer, sizeof statbuffer, "Author  : %s", AUTHOR);
+  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, "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++;
index e7015d0..28601e9 100644 (file)
 
 #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 3
-#define CONTRIBUTORS {"Pierre-Alexandre Meyer", "Sebastien Gonzalve", "Gert Hulselmans"}
+#define NB_CONTRIBUTORS 
+#define CONTRIBUTORS {"Sebastien Gonzalve", "Gert Hulselmans"}
 
 #define ATTR_PACKED __attribute__((packed))