[GRASS-SVN] r54041 - grass/trunk/lib/raster

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 26 01:18:07 PST 2012


Author: marisn
Date: 2012-11-26 01:18:07 -0800 (Mon, 26 Nov 2012)
New Revision: 54041

Modified:
   grass/trunk/lib/raster/set_window.c
Log:
Print failing map name to help with issue solving

Modified: grass/trunk/lib/raster/set_window.c
===================================================================
--- grass/trunk/lib/raster/set_window.c	2012-11-26 08:02:36 UTC (rev 54040)
+++ grass/trunk/lib/raster/set_window.c	2012-11-26 09:18:07 UTC (rev 54041)
@@ -155,7 +155,7 @@
 	    continue;
 
 	if (fcb->open_mode == OPEN_OLD)
-	    G_fatal_error(_("Input window changed while maps are open for read"));
+	    G_fatal_error(_("Input window changed while maps are open for read. Map name <%s>"), fcb->name);
     }
 
     /* turn masking (back) on if necessary */
@@ -171,7 +171,7 @@
 
 	if (fcb->open_mode == OPEN_NEW_UNCOMPRESSED ||
 	    fcb->open_mode == OPEN_NEW_COMPRESSED)
-	    G_fatal_error(_("Output window changed while maps are open for write"));
+	    G_fatal_error(_("Output window changed while maps are open for write. Map name <%s>"), fcb->name);
     }
 }
 



More information about the grass-commit mailing list