summaryrefslogtreecommitdiff
path: root/src/screenshot.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-11-14 15:31:06 +0000
committersmatz <smatz@openttd.org>2009-11-14 15:31:06 +0000
commit3ccf1e1b123b7f91f3e464864204c85944b845a5 (patch)
tree3331ac573e88f3c37f38f4345b8aff1931d7bde6 /src/screenshot.cpp
parent7163c7d3ab1409029d61ef73f55e4e4fac48a216 (diff)
downloadopenttd-3ccf1e1b123b7f91f3e464864204c85944b845a5.tar.xz
(svn r18076) -Codechange: rename MakeBmpImage() to MakeBMPImage()
Diffstat (limited to 'src/screenshot.cpp')
-rw-r--r--src/screenshot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screenshot.cpp b/src/screenshot.cpp
index f9d06cd61..4f9ab46ab 100644
--- a/src/screenshot.cpp
+++ b/src/screenshot.cpp
@@ -91,7 +91,7 @@ assert_compile(sizeof(RgbTriplet) == 3);
* @param palette colour palette (for 8bpp mode)
* @return was everything ok?
*/
-static bool MakeBmpImage(const char *name, ScreenshotCallback *callb, void *userdata, uint w, uint h, int pixelformat, const Colour *palette)
+static bool MakeBMPImage(const char *name, ScreenshotCallback *callb, void *userdata, uint w, uint h, int pixelformat, const Colour *palette)
{
uint bpp; // bytes per pixel
switch (pixelformat) {
@@ -478,7 +478,7 @@ static const ScreenshotFormat _screenshot_formats[] = {
#if defined(WITH_PNG)
{"PNG", "png", &MakePNGImage},
#endif
- {"BMP", "bmp", &MakeBmpImage},
+ {"BMP", "bmp", &MakeBMPImage},
{"PCX", "pcx", &MakePCXImage},
};