[GRASS-SVN] r60030 - grass/trunk/lib/cairodriver
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu May 1 13:55:29 PDT 2014
Author: neteler
Date: 2014-05-01 13:55:28 -0700 (Thu, 01 May 2014)
New Revision: 60030
Modified:
grass/trunk/lib/cairodriver/Raster.c
Log:
cairodriver: improved error message (triggered via d.mon/d.rast)
Modified: grass/trunk/lib/cairodriver/Raster.c
===================================================================
--- grass/trunk/lib/cairodriver/Raster.c 2014-05-01 20:55:17 UTC (rev 60029)
+++ grass/trunk/lib/cairodriver/Raster.c 2014-05-01 20:55:28 UTC (rev 60030)
@@ -68,9 +68,9 @@
src_surf = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, src_w, src_h);
status = cairo_surface_status(src_surf);
if (status != CAIRO_STATUS_SUCCESS)
- G_fatal_error("Cairo_begin_raster(): %s (%s)",
+ G_fatal_error("Cairo_begin_raster(): %s (%s). Using rows: %d, cols: %d ",
_("Failed to create surface"),
- cairo_status_to_string (status));
+ cairo_status_to_string (status), src_b, src_r);
src_data = cairo_image_surface_get_data(src_surf);
src_stride = cairo_image_surface_get_stride(src_surf);
More information about the grass-commit
mailing list