summaryrefslogtreecommitdiff
path: root/screenshot.c
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2005-07-05 17:47:10 +0000
committercelestar <celestar@openttd.org>2005-07-05 17:47:10 +0000
commitb29556e6b5c78b3700da1902ef8c8151bcf9fb41 (patch)
treedd22ea9e8f91f18c49976cb26893ccecf8479174 /screenshot.c
parent7b39e32c934abad1cc8f6fb6f6156f8233b1cafc (diff)
downloadopenttd-b29556e6b5c78b3700da1902ef8c8151bcf9fb41.tar.xz
(svn r2521) -Codechange: Removed trailing "\n"s from DEBUG statements
Diffstat (limited to 'screenshot.c')
-rw-r--r--screenshot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/screenshot.c b/screenshot.c
index 9538b9044..3c23e327b 100644
--- a/screenshot.c
+++ b/screenshot.c
@@ -147,13 +147,13 @@ static bool MakeBmpImage(const char *name, ScreenshotCallback *callb, void *user
static void PNGAPI png_my_error(png_structp png_ptr, png_const_charp message)
{
- DEBUG(misc, 0) ("ERROR(libpng): %s - %s\n", message, (char *)png_get_error_ptr(png_ptr));
+ DEBUG(misc, 0) ("ERROR(libpng): %s - %s", message, (char *)png_get_error_ptr(png_ptr));
longjmp(png_ptr->jmpbuf, 1);
}
static void PNGAPI png_my_warning(png_structp png_ptr, png_const_charp message)
{
- DEBUG(misc, 0) ("WARNING(libpng): %s - %s\n", message, (char *)png_get_error_ptr(png_ptr));
+ DEBUG(misc, 0) ("WARNING(libpng): %s - %s", message, (char *)png_get_error_ptr(png_ptr));
}
static bool MakePNGImage(const char *name, ScreenshotCallback *callb, void *userdata, uint w, uint h, int pixelformat, const Colour *palette)