[GRASS-SVN] r33230 - grass/trunk/gui/wxpython/vdigit

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 3 04:36:16 EDT 2008


Author: martinl
Date: 2008-09-03 04:36:16 -0400 (Wed, 03 Sep 2008)
New Revision: 33230

Modified:
   grass/trunk/gui/wxpython/vdigit/line.cpp
Log:
wxGUI: bug fix in vdigit (move features)


Modified: grass/trunk/gui/wxpython/vdigit/line.cpp
===================================================================
--- grass/trunk/gui/wxpython/vdigit/line.cpp	2008-09-03 08:33:36 UTC (rev 33229)
+++ grass/trunk/gui/wxpython/vdigit/line.cpp	2008-09-03 08:36:16 UTC (rev 33230)
@@ -312,9 +312,10 @@
     struct line_pnts *point;
     struct ilist *list;
 
-    if (!display->mapInfo)
+    if (!display->mapInfo) {
 	DisplayMsg();
 	return -1;
+    }
 
     point = Vect_new_line_struct();
     list  = Vect_new_list();
@@ -491,9 +492,10 @@
     struct Map_info **BgMap; /* backgroud vector maps */
     int nbgmaps;             /* number of registrated background maps */
 
-    if (!display->mapInfo)
+    if (!display->mapInfo) {
 	DisplayMsg();
 	return -1;
+    }
 
     BgMap = NULL;
     nbgmaps = 0;



More information about the grass-commit mailing list