[GRASS-SVN] r32472 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Aug 2 18:42:02 EDT 2008
Author: martinl
Date: 2008-08-02 18:42:02 -0400 (Sat, 02 Aug 2008)
New Revision: 32472
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py
Log:
wxGUI: don't add new line if not necessary (merge from trunk, r32471)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py 2008-08-02 22:39:15 UTC (rev 32471)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py 2008-08-02 22:42:02 UTC (rev 32472)
@@ -692,7 +692,8 @@
if wrap:
txt = textwrap.fill(txt, wrap) + os.linesep
else:
- txt += os.linesep
+ if txt[-1] != os.linesep:
+ txt += os.linesep
if '\r' in txt:
self.parent.linePos = -1
More information about the grass-commit
mailing list