Change to for loop
This commit is contained in:
parent
edea7e37d0
commit
7ac13d7924
11
src/main.c
11
src/main.c
@ -122,20 +122,15 @@ display_license (void)
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.\n\
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.\n\
|
||||||
\n");
|
\n");
|
||||||
|
|
||||||
authors = authors_get_authors ();
|
|
||||||
|
|
||||||
printf ("\nAUTHORS:\n");
|
printf ("\nAUTHORS:\n");
|
||||||
while (*authors) {
|
for (authors = authors_get_authors (); *authors; authors++) {
|
||||||
printf (" %s\n", *authors);
|
printf (" %s\n", *authors);
|
||||||
authors++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
documenters = authors_get_documenters ();
|
|
||||||
|
|
||||||
printf ("\nDOCUMENTERS:\n");
|
printf ("\nDOCUMENTERS:\n");
|
||||||
while (*documenters) {
|
for (documenters = authors_get_documenters ();
|
||||||
|
*documenters; documenters++) {
|
||||||
printf (" %s\n", *documenters);
|
printf (" %s\n", *documenters);
|
||||||
documenters++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
printf ("\n");
|
printf ("\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user