Selaa lähdekoodia

gislib: allow ext_error() also for messages

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@32246 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 17 vuotta sitten
vanhempi
commit
6f16dcec0a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      lib/gis/error.c

+ 1 - 1
lib/gis/error.c

@@ -314,7 +314,7 @@ static int print_error(const char *msg, const int type)
     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;