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

Christophe Fergeau cfergeau at redhat.com
Thu Mar 5 02:52:43 PST 2015


On Wed, Feb 25, 2015 at 05:22:53PM +0100, Fabiano FidĂȘncio wrote:
> 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);

Yeah probably what was meant, ACK.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150305/6ef55afd/attachment-0001.sig>


More information about the Spice-devel mailing list