From: Holger Schemel Date: Mon, 21 Jun 2021 15:28:01 +0000 (+0200) Subject: removed unneeded newline characters in error output X-Git-Tag: 4.3.0.0~124 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=dfc53eab271f2b9d9cd04c32e9356c77bd68472f;p=rocksndiamonds.git removed unneeded newline characters in error output --- diff --git a/src/files.c b/src/files.c index 75f0fe08..4f1222ce 100644 --- a/src/files.c +++ b/src/files.c @@ -9205,7 +9205,7 @@ static char *get_file_base64(char *filename) if (stat(filename, &file_status) != 0) { - Error("cannot stat file '%s'\n", filename); + Error("cannot stat file '%s'", filename); return NULL; } @@ -9217,7 +9217,7 @@ static char *get_file_base64(char *filename) if (!(file = fopen(filename, MODE_READ))) { - Error("cannot open file '%s'\n", filename); + Error("cannot open file '%s'", filename); checked_free(buffer); @@ -9230,7 +9230,7 @@ static char *get_file_base64(char *filename) if (c == EOF) { - Error("cannot read from input file '%s'\n", filename); + Error("cannot read from input file '%s'", filename); fclose(file); checked_free(buffer);