[Spice-devel] [PATCH][common] Fix typo in pixman_image_get_stride() function

Fabiano FidĂȘncio fidencio at redhat.com
Wed Feb 25 08:22:53 PST 2015


pixman_image_surface-get_stride -> pixman_image_get_stride
---
 common/canvas_base.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/canvas_base.c b/common/canvas_base.c
index 837f1d1..a2dc431 100644
--- a/common/canvas_base.c
+++ b/common/canvas_base.c
@@ -1035,7 +1035,7 @@ static void dump_surface(pixman_image_t *surface, int cache)
     uint8_t *data = (uint8_t *)pixman_image_get_data(surface);
     int width = pixman_image_get_width(surface);
     int height = pixman_image_get_height(surface);
-    int stride = pixman_image_surface_get_stride(surface);
+    int stride = pixman_image_get_stride(surface);
 
     uint32_t id = ++file_id;
 #ifdef WIN32
-- 
2.1.0



More information about the Spice-devel mailing list