Mercurial > hg > openttd
changeset 13554:cb9446883abb draft
(svn r18076) -Codechange: rename MakeBmpImage() to MakeBMPImage()
author | smatz <smatz@openttd.org> |
---|---|
date | Sat, 14 Nov 2009 15:31:06 +0000 |
parents | 4e6941a541e0 |
children | ab2c995a4645 |
files | src/screenshot.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/screenshot.cpp +++ b/src/screenshot.cpp @@ -91,7 +91,7 @@ * @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 @@ #if defined(WITH_PNG) {"PNG", "png", &MakePNGImage}, #endif - {"BMP", "bmp", &MakeBmpImage}, + {"BMP", "bmp", &MakeBMPImage}, {"PCX", "pcx", &MakePCXImage}, };