Преглед изворни кода

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 година
родитељ
комит
6f16dcec0a
1 измењених фајлова са 1 додато и 1 уклоњено
  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;