Commit 3321208a authored by Paolo Bacchilega's avatar Paolo Bacchilega

make sure the has_alpha flag is a boolean value

parent 3effb164
......@@ -104,7 +104,7 @@ _cairo_metadata_set_has_alpha (cairo_surface_metadata_t *metadata,
gboolean has_alpha)
metadata->valid_data |= _CAIRO_METADATA_FLAG_HAS_ALPHA;
metadata->has_alpha = has_alpha;
metadata->has_alpha = has_alpha ? TRUE : FALSE;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment