[GRASS-SVN] r57618 - grass/branches/develbranch_6/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Sep 7 04:54:06 PDT 2013
Author: hamish
Date: 2013-09-07 04:54:06 -0700 (Sat, 07 Sep 2013)
New Revision: 57618
Modified:
grass/branches/develbranch_6/lib/gis/make_colr.c
Log:
avoid needless sprintf
Modified: grass/branches/develbranch_6/lib/gis/make_colr.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/make_colr.c 2013-09-07 11:52:16 UTC (rev 57617)
+++ grass/branches/develbranch_6/lib/gis/make_colr.c 2013-09-07 11:54:06 UTC (rev 57618)
@@ -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