[GRASS-SVN] r57619 - grass/branches/releasebranch_6_4/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Sep 7 04:58:52 PDT 2013
Author: hamish
Date: 2013-09-07 04:58:52 -0700 (Sat, 07 Sep 2013)
New Revision: 57619
Modified:
grass/branches/releasebranch_6_4/lib/gis/make_colr.c
Log:
avoid needless sprintf (merge from devbr6 r57610)
Modified: grass/branches/releasebranch_6_4/lib/gis/make_colr.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/gis/make_colr.c 2013-09-07 11:54:06 UTC (rev 57618)
+++ grass/branches/releasebranch_6_4/lib/gis/make_colr.c 2013-09-07 11:58:52 UTC (rev 57619)
@@ -37,8 +37,7 @@
return -1;
G_get_fp_range_min_max(&range, &min, &max);
if (G_is_d_null_value(&min) || G_is_d_null_value(&max)) {
- sprintf(buff, _(" The raster map %s@%s is empty"), name, mapset);
- G_warning(buff);
+ G_warning(_("The raster map <%s@%s> is empty"), name, mapset);
return -1;
}
More information about the grass-commit
mailing list