end with \n

This commit is contained in:
speedie 2023-05-08 17:31:32 +02:00
parent 8ab66132f1
commit a2ab37dbc3

View file

@ -198,13 +198,13 @@ int parsemarkup(int index) {
// spmenu:version
if (!strncmp("version", items[index].ex, strlen("version"))) {
fprintf(stdout, "spmenu version %s", VERSION);
fprintf(stdout, "spmenu version %s\n", VERSION);
exit(0);
}
// spmenu:license
if (!strncmp("license", items[index].ex, strlen("license"))) {
fprintf(stdout, "spmenu is licensed under the MIT license. See the included LICENSE file for more information.");
fprintf(stdout, "spmenu is licensed under the MIT license. See the included LICENSE file for more information.\n");
exit(0);
}
}