Fix some EOL handling

This commit is contained in:
jsteube
2016-10-25 12:25:53 +02:00
parent 97a33dc4ef
commit 97b58b16af
9 changed files with 40 additions and 41 deletions

View File

@@ -414,7 +414,8 @@ void usage_mini_print (const char *progname)
for (int i = 0; USAGE_MINI[i] != NULL; i++)
{
printf (USAGE_MINI[i], progname);
printf (EOL);
fwrite (EOL, strlen (EOL), 1, stdout);
}
}
@@ -423,6 +424,7 @@ void usage_big_print (const char *progname)
for (int i = 0; USAGE_BIG[i] != NULL; i++)
{
printf (USAGE_BIG[i], progname);
printf (EOL);
fwrite (EOL, strlen (EOL), 1, stdout);
}
}