[GRASS-SVN] r34169 - grass/trunk/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Nov 6 07:22:08 EST 2008
Author: neteler
Date: 2008-11-06 07:22:08 -0500 (Thu, 06 Nov 2008)
New Revision: 34169
Modified:
grass/trunk/lib/gis/error.c
grass/trunk/lib/gis/percent.c
Log:
name fix
Modified: grass/trunk/lib/gis/error.c
===================================================================
--- grass/trunk/lib/gis/error.c 2008-11-06 12:11:07 UTC (rev 34168)
+++ grass/trunk/lib/gis/error.c 2008-11-06 12:22:08 UTC (rev 34169)
@@ -497,7 +497,7 @@
else if (fstr && G_strcasecmp(fstr, "silent") == 0)
grass_info_format = G_INFO_FORMAT_SILENT;
else if (fstr && G_strcasecmp(fstr, "plain") == 0)
- grass_info_format = G_INFO_FORMAT_BATCH;
+ grass_info_format = G_INFO_FORMAT_PLAIN;
else
grass_info_format = G_INFO_FORMAT_STANDARD;
}
Modified: grass/trunk/lib/gis/percent.c
===================================================================
--- grass/trunk/lib/gis/percent.c 2008-11-06 12:11:07 UTC (rev 34168)
+++ grass/trunk/lib/gis/percent.c 2008-11-06 12:22:08 UTC (rev 34169)
@@ -112,7 +112,7 @@
}
}
else {
- if (format == G_INFO_FORMAT_BATCH) {
+ if (format == G_INFO_FORMAT_PLAIN) {
if (out != NULL) {
if (x == 100)
fprintf(out, "%d\n", x);
More information about the grass-commit
mailing list