Author: stefanct Date: Thu Dec 27 19:40:40 2012 New Revision: 1633 URL: http://flashrom.org/trac/flashrom/changeset/1633
Log: print_wiki.c: print programmers of type OTHER too.
Signed-off-by: Stefan Tauner stefan.tauner@student.tuwien.ac.at Acked-by: Stefan Tauner stefan.tauner@student.tuwien.ac.at
Modified: trunk/print_wiki.c
Modified: trunk/print_wiki.c ============================================================================== --- trunk/print_wiki.c Thu Dec 27 19:40:36 2012 (r1632) +++ trunk/print_wiki.c Thu Dec 27 19:40:40 2012 (r1633) @@ -373,6 +373,22 @@ } } printf("\n|}\n\n|}\n"); + + printf("\n== Other programmers ==\n\n" + "{%s", th_start); + printf("! align="left" | Programmer\n" + "! align="left" | Note\n\n"); + + for (i = 0; i < PROGRAMMER_INVALID; i++) { + static int c = 0; + const struct programmer_entry prog = programmer_table[i]; + if (prog.type == OTHER && prog.devs.note != NULL) { + c = !c; + printf("|- bgcolor="#%s"\n", (c) ? "eeeeee" : "dddddd"); + printf("| %s || %s", prog.name, prog.devs.note); + } + } + printf("\n|}\n\n|}\n"); }
void print_supported_wiki(void)