[GRASS-SVN] r34507 - grass/trunk/raster/r.sunmask
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 26 16:05:56 EST 2008
Author: neteler
Date: 2008-11-26 16:05:56 -0500 (Wed, 26 Nov 2008)
New Revision: 34507
Modified:
grass/trunk/raster/r.sunmask/main.c
Log:
cosmetics
Modified: grass/trunk/raster/r.sunmask/main.c
===================================================================
--- grass/trunk/raster/r.sunmask/main.c 2008-11-26 20:52:54 UTC (rev 34506)
+++ grass/trunk/raster/r.sunmask/main.c 2008-11-26 21:05:56 UTC (rev 34507)
@@ -255,9 +255,9 @@
/* if not given, get east and north: XX */
if (!parm.north->answer || !parm.east->answer) {
- G_message(_("Using map center coordinates\n"));
north = (window.north - window.south) / 2. + window.south;
east = (window.west - window.east) / 2. + window.east;
+ G_message(_("Using map center coordinates: %f %f"), east, north);
}
else { /* user defined east, north: */
@@ -275,7 +275,7 @@
if (parm.opt3->answer && parm.opt4->answer)
solparms = 1; /* opt3 & opt4 complete */
else
- solparms = 0;
+ solparms = 0; /* calculate sun position */
if (parm.year->answer && parm.month->answer && parm.day->answer &&
parm.hour->answer && parm.minutes->answer && parm.seconds->answer &&
@@ -546,7 +546,7 @@
hist.edlinecnt = 3;
G_write_history(outname, &hist);
- G_done_msg("");
+ G_done_msg(" ");
exit(EXIT_SUCCESS);
}
More information about the grass-commit
mailing list