[GRASS-SVN] r41881 - grass/trunk/lib/imagery
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Apr 15 17:38:37 EDT 2010
Author: huhabla
Date: 2010-04-15 17:38:37 -0400 (Thu, 15 Apr 2010)
New Revision: 41881
Modified:
grass/trunk/lib/imagery/loc_info.c
Log:
Fix: return the allocated buffer
Modified: grass/trunk/lib/imagery/loc_info.c
===================================================================
--- grass/trunk/lib/imagery/loc_info.c 2010-04-15 21:32:25 UTC (rev 41880)
+++ grass/trunk/lib/imagery/loc_info.c 2010-04-15 21:38:37 UTC (rev 41881)
@@ -18,5 +18,5 @@
G_snprintf(buf, buf_len, "%s%*s%s%*s%s",
left, len / 2, "", middle, len / 2, "", right);
- return 0;
+ return buf;
}
More information about the grass-commit
mailing list