Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix typo. It should be 'cairo_format_stride_for_width'.

  • Loading branch information...
commit ba8fedaa41486d19968a0e27160f684ac0a07ff8 1 parent 20f6819
@nsf authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  widget-utils.c
View
2  widget-utils.c
@@ -595,7 +595,7 @@ static cairo_surface_t *get_icon_from_netwm(long *data)
a[2] *= (float)d[3] / 255.0f;
}
- int stride = cairo_format_stride_width(CAIRO_FORMAT_ARGB32, w);
+ int stride = cairo_format_stride_for_width(CAIRO_FORMAT_ARGB32, w);
ret = cairo_image_surface_create_for_data((unsigned char*)array,
CAIRO_FORMAT_ARGB32,
w, h, stride);
Please sign in to comment.
Something went wrong with that request. Please try again.