hdt: Adding core developper role
authorErwan Velu <erwan.velu@free.fr>
Sun, 1 Nov 2009 12:10:27 +0000 (13:10 +0100)
committerErwan Velu <erwan.velu@free.fr>
Sun, 1 Nov 2009 12:10:27 +0000 (13:10 +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 1a2df78..a99bb12 100644 (file)
@@ -241,13 +241,14 @@ 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(" Author      : %s\n", AUTHOR);
-       more_printf(" Contact     : %s\n", CONTACT);
+       more_printf(" Product        : %s\n", PRODUCT_NAME);
+       more_printf(" Version        : %s\n", VERSION);
+       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++) {
-               more_printf(" Contributor : %s\n", contributors[c]);
+               more_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))