summaryrefslogtreecommitdiff
path: root/src/screenshot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/screenshot.cpp')
-rw-r--r--src/screenshot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screenshot.cpp b/src/screenshot.cpp
index 35009e0cf..f0ee882e9 100644
--- a/src/screenshot.cpp
+++ b/src/screenshot.cpp
@@ -84,7 +84,7 @@ static bool MakeBmpImage(const char *name, ScreenshotCallback *callb, void *user
if (f == NULL) return false;
/* each scanline must be aligned on a 32bit boundary */
- padw = ALIGN(w, 4);
+ padw = Align(w, 4);
if (pixelformat == 8) pal_size = sizeof(RgbQuad) * 256;