From 89900525fb78b20c532b8d983c238896f6e4820c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 28 Aug 2008 17:21:37 -0400 Subject: Move version number to src/cairo-version.h --- src/cairo-image-surface.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/cairo-image-surface.c') diff --git a/src/cairo-image-surface.c b/src/cairo-image-surface.c index cfbdd077..4225548a 100644 --- a/src/cairo-image-surface.c +++ b/src/cairo-image-surface.c @@ -259,7 +259,7 @@ _cairo_image_surface_create_with_masks (unsigned char *data, status = _pixman_format_from_masks (masks, &pixman_format); if (status == CAIRO_INT_STATUS_UNSUPPORTED) { fprintf (stderr, - "Error: Cairo " PACKAGE_VERSION " does not yet support the requested image format:\n" + "Error: Cairo %s does not yet support the requested image format:\n" "\tDepth: %d\n" "\tAlpha mask: 0x%08lx\n" "\tRed mask: 0x%08lx\n" @@ -267,6 +267,7 @@ _cairo_image_surface_create_with_masks (unsigned char *data, "\tBlue mask: 0x%08lx\n" "Please file an enhancement request (quoting the above) at:\n" PACKAGE_BUGREPORT "\n", + cairo_version_string (), masks->bpp, masks->alpha_mask, masks->red_mask, masks->green_mask, masks->blue_mask); -- cgit v1.2.3