Formatting

This commit is contained in:
Andrew Pamment 2017-04-19 15:43:59 +10:00
parent f7cfad4f06
commit 96a613d706

View File

@ -240,7 +240,8 @@ int menu_system(char *menufile) {
if (fptr) {
fgets(buffer, PATH_MAX, fptr);
while (!feof(fptr)) {
s_printf("%s\r\n", buffer);
chomp(buffer);
s_printf("\r\n%s\r\n", buffer);
fgets(buffer, PATH_MAX, fptr);
}
fclose(fptr);