From 58bb5c752568f8f9a1cb4d9533268d0ecad34e12 Mon Sep 17 00:00:00 2001 From: skidd13 Date: Mon, 19 Nov 2007 20:40:14 +0000 Subject: (svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style This fixes also FS#1450 --- src/video/win32_v.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/video/win32_v.cpp') diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp index 03728090c..16677fb87 100644 --- a/src/video/win32_v.cpp +++ b/src/video/win32_v.cpp @@ -686,7 +686,7 @@ static bool AllocateDibSection(int w, int h) return false; _screen.width = w; - _screen.pitch = (bpp == 8) ? ALIGN(w, 4) : w; + _screen.pitch = (bpp == 8) ? Align(w, 4) : w; _screen.height = h; bi = (BITMAPINFO*)alloca(sizeof(BITMAPINFOHEADER) + sizeof(RGBQUAD) * 256); memset(bi, 0, sizeof(BITMAPINFOHEADER) + sizeof(RGBQUAD) * 256); -- cgit v1.2.3-54-g00ecf