Update gdi canvas wrt latest changes

ALIGN -> SPICE_ALIGN
This commit is contained in:
Alexander Larsson 2010-03-09 16:01:12 +01:00
parent 52ec6a48ee
commit 454f44470d

View File

@ -574,10 +574,10 @@ static uint8_t *create_bitmap(HBITMAP *bitmap, HBITMAP *prev_bitmap, HDC *dc,
switch (bits) {
case 1:
nstride = ALIGN(width, 32) / 8;
nstride = SPICE_ALIGN(width, 32) / 8;
break;
case 8:
nstride = ALIGN(width, 4);
nstride = SPICE_ALIGN(width, 4);
break;
case 32:
nstride = width * 4;