(svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style

This fixes also FS#1450
This commit is contained in:
skidd13
2007-11-19 20:40:14 +00:00
parent d076ea8697
commit 58bb5c7525
10 changed files with 9 additions and 18 deletions

View File

@@ -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);