[GRASS-SVN] r33308 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Sep 7 06:17:39 EDT 2008
Author: martinl
Date: 2008-09-07 06:17:39 -0400 (Sun, 07 Sep 2008)
New Revision: 33308
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
Log:
wxGUI: bug fix - trac #299 - wxGUI fails to handle illegal region extent
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py 2008-09-06 21:13:19 UTC (rev 33307)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py 2008-09-07 10:17:39 UTC (rev 33308)
@@ -2309,9 +2309,9 @@
"s=%f" % new['s'],
"e=%f" % new['e'],
"w=%f" % new['w'],
- "rows=%f" % new['rows'],
- "cols=%f" % new['cols']]
-
+ "rows=%d" % int(new['rows']),
+ "cols=%d" % int(new['cols'])]
+
p = gcmd.Command(cmdRegion)
if tmpreg:
More information about the grass-commit
mailing list