[GRASS-SVN] r32246 - grass/trunk/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 24 03:12:20 EDT 2008


Author: martinl
Date: 2008-07-24 03:12:20 -0400 (Thu, 24 Jul 2008)
New Revision: 32246

Modified:
   grass/trunk/lib/gis/error.c
Log:
gislib: allow ext_error() also for messages

Modified: grass/trunk/lib/gis/error.c
===================================================================
--- grass/trunk/lib/gis/error.c	2008-07-24 07:11:20 UTC (rev 32245)
+++ grass/trunk/lib/gis/error.c	2008-07-24 07:12:20 UTC (rev 32246)
@@ -314,7 +314,7 @@
     else /* WARN */
 	fatal = FALSE;
 
-    if ( (type == WARN || type == ERR) && ext_error) { /* Function defined by application */
+    if ( (type == MSG || type == WARN || type == ERR) && ext_error) { /* Function defined by application */
 	ext_error (msg, fatal);
     } else {
 	char *w;



More information about the grass-commit mailing list