[GRASS-SVN] r33229 -
grass/branches/develbranch_6/gui/wxpython/vdigit
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Sep 3 04:33:36 EDT 2008
Author: martinl
Date: 2008-09-03 04:33:36 -0400 (Wed, 03 Sep 2008)
New Revision: 33229
Modified:
grass/branches/develbranch_6/gui/wxpython/vdigit/line.cpp
Log:
wxGUI: bug fix in vdigit (move features)
Modified: grass/branches/develbranch_6/gui/wxpython/vdigit/line.cpp
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/vdigit/line.cpp 2008-09-03 07:29:34 UTC (rev 33228)
+++ grass/branches/develbranch_6/gui/wxpython/vdigit/line.cpp 2008-09-03 08:33:36 UTC (rev 33229)
@@ -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