diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-03-09 16:01:12 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-03-09 16:01:12 +0100 |
commit | 454f44470d2a0c6be2c7c00aefbc040c6be0f77a (patch) | |
tree | bb60d9bc96df9cbd2777650d871597711068774a /common | |
parent | 52ec6a48ee1980acd6978721a79d280520751041 (diff) |
Update gdi canvas wrt latest changes
ALIGN -> SPICE_ALIGN
Diffstat (limited to 'common')
-rw-r--r-- | common/gdi_canvas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/gdi_canvas.c b/common/gdi_canvas.c index 54d60941..cd7e87fb 100644 --- a/common/gdi_canvas.c +++ b/common/gdi_canvas.c @@ -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; |