summaryrefslogtreecommitdiff
path: root/screenshot.c
diff options
context:
space:
mode:
authormatthijs <matthijs@openttd.org>2006-08-23 15:30:03 +0000
committermatthijs <matthijs@openttd.org>2006-08-23 15:30:03 +0000
commitdc5c55a81945aa18933faa140c1f0a4df1f7067c (patch)
treea35884ad6a1b00fa550fd9196939c56e03b5c608 /screenshot.c
parentbdc91f54d75833d22a099f76e4689bf9f29e25a6 (diff)
downloadopenttd-dc5c55a81945aa18933faa140c1f0a4df1f7067c.tar.xz
(svn r6068) -Codechange: Switch PNG and BMP priority for screenshots. This ensures PNG is used by default when available. (hylje)
Diffstat (limited to 'screenshot.c')
-rw-r--r--screenshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/screenshot.c b/screenshot.c
index a1bbd3fa9..3c134cdcc 100644
--- a/screenshot.c
+++ b/screenshot.c
@@ -416,10 +416,10 @@ static bool MakePCXImage(const char *name, ScreenshotCallback *callb, void *user
//************************************************
static const ScreenshotFormat _screenshot_formats[] = {
- {"BMP", "bmp", &MakeBmpImage},
#if defined(WITH_PNG)
{"PNG", "png", &MakePNGImage},
#endif
+ {"BMP", "bmp", &MakeBmpImage},
{"PCX", "pcx", &MakePCXImage},
};