Error messages end with newlines

This commit is contained in:
Rangi
2022-03-13 14:04:36 -04:00
parent a3e31d6463
commit a4bc0ab74f
2 changed files with 10 additions and 10 deletions

View File

@@ -271,7 +271,7 @@ int main(int argc, char *argv[]) {
}
if (options.interleave) {
if (!options.png_file) {
error_exit("--interleave needs --png to infer dimensions");
error_exit("--interleave needs --png to infer dimensions\n");
}
int width = read_png_width(options.png_file);
interleave(&graphic, width);