From 90c5766caf16e35cb871116a4655a106a3c272dc Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 9 Mar 2010 11:10:00 +0100 Subject: Use macros from rather than duplicate them --- client/x11/red_pixmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/x11') diff --git a/client/x11/red_pixmap.cpp b/client/x11/red_pixmap.cpp index 85a45515..8452596d 100644 --- a/client/x11/red_pixmap.cpp +++ b/client/x11/red_pixmap.cpp @@ -25,7 +25,7 @@ RedPixmap::RedPixmap(int width, int height, RedPixmap::Format format, : _format (format) , _width (width) , _height (height) - , _stride (ALIGN(width * (_format == RedPixmap::A1 ? 1 : 32), 32) / 8) + , _stride (SPICE_ALIGN(width * (_format == RedPixmap::A1 ? 1 : 32), 32) / 8) , _top_bottom (top_bottom) , _data (NULL) { -- cgit