From 5c09daf29447a07e6fe3c885c0aa899eaf1dcb39 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Sat, 3 Oct 2015 11:52:59 +0000 Subject: [PATCH] Add forgotten newlines to error messages in loadpalette(). git-svn-id: https://svn.eduke32.com/eduke32@5369 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/engine.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/polymer/eduke32/build/src/engine.c b/polymer/eduke32/build/src/engine.c index 7ee629f94..75647b652 100644 --- a/polymer/eduke32/build/src/engine.c +++ b/polymer/eduke32/build/src/engine.c @@ -8280,7 +8280,7 @@ static void loadpalette(void) if (numshades <= 1) { - initprintf("Warning: Invalid number of shades in \"palette.dat\"!"); + initprintf("Warning: Invalid number of shades in \"palette.dat\"!\n"); numshades = 0; return kclose(fil); } @@ -8292,7 +8292,7 @@ static void loadpalette(void) int32_t lamedukep = 0; if (numshades == 256) { - static char const * const seekfail = "Warning: klseek() failed in loadpalette()!"; + static char const * const seekfail = "Warning: klseek() failed in loadpalette()!\n"; uint16_t temp; if (kread_and_test(fil,&temp,2)) @@ -8365,7 +8365,7 @@ static void loadpalette(void) uint8_t addblendtabs; if (kread_and_test(fil, &addblendtabs, 1)) { - initprintf("Warning: failed reading additional blending table count"); + initprintf("Warning: failed reading additional blending table count\n"); return kclose(fil); } @@ -8375,17 +8375,17 @@ static void loadpalette(void) { if (kread_and_test(fil, &blendnum, 1)) { - initprintf("Warning: failed reading additional blending table index"); + initprintf("Warning: failed reading additional blending table index\n"); Bfree(tab); return kclose(fil); } if (getblendtab(blendnum) != NULL) - initprintf("Warning: duplicate blending table index %3d encountered", blendnum); + initprintf("Warning: duplicate blending table index %3d encountered\n", blendnum); if (kread_and_test(fil, tab, 256*256)) { - initprintf("Warning: failed reading additional blending table"); + initprintf("Warning: failed reading additional blending table\n"); Bfree(tab); return kclose(fil); } @@ -8399,7 +8399,7 @@ static void loadpalette(void) if (kread_and_test(fil, &lognumalphatabs, 1)) { if (!(lognumalphatabs >= 1 && lognumalphatabs <= 7)) - initprintf("invalid lognumalphatabs value, must be in [1 .. 7]"); + initprintf("invalid lognumalphatabs value, must be in [1 .. 7]\n"); else numalphatabs = 1<