[GRASS-SVN] r44982 - grass/branches/develbranch_6/vector/v.digit

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 12 03:45:21 EST 2011


Author: marisn
Date: 2011-01-12 00:45:21 -0800 (Wed, 12 Jan 2011)
New Revision: 44982

Modified:
   grass/branches/develbranch_6/vector/v.digit/line.c
Log:
v.digit 3 is not the same as 1. Fix typo introduced in r44928.

Modified: grass/branches/develbranch_6/vector/v.digit/line.c
===================================================================
--- grass/branches/develbranch_6/vector/v.digit/line.c	2011-01-12 05:44:30 UTC (rev 44981)
+++ grass/branches/develbranch_6/vector/v.digit/line.c	2011-01-12 08:45:21 UTC (rev 44982)
@@ -162,7 +162,7 @@
 	return 1;
     }
 
-    if (nl->type & GV_POINTS && (button == 2 ||  button == 3)) {
+    if (nl->type & GV_POINTS && (button == 1 ||  button == 2)) {
 	snap(&x, &y);
 	Vect_append_point(nl->Points, x, y, 0);
 



More information about the grass-commit mailing list