Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12694 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jan 7, 2010
1 parent cfcfc06 commit 776e7d8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/gps/qgsgpsinformationwidget.cpp
Expand Up @@ -767,7 +767,7 @@ void QgsGPSInformationWidget::on_mBtnCloseFeature_clicked( )
memcpy( &wkb[position], &y, sizeof( double ) );
f->setGeometryAndOwnership( &wkb[0], size );

int avoidIntersectionsReturn = QgsMapToolAddFeature::avoidIntersectons( f->geometry() );
int avoidIntersectionsReturn = QgsMapToolAddFeature::avoidIntersections( f->geometry() );
if ( avoidIntersectionsReturn == 1 )
{
//not a polygon type. Impossible to get there
Expand Down
4 changes: 2 additions & 2 deletions src/app/qgsmaptooladdfeature.cpp
Expand Up @@ -443,7 +443,7 @@ void QgsMapToolAddFeature::canvasReleaseEvent( QMouseEvent * e )
}
f->setGeometryAndOwnership( &wkb[0], size );

int avoidIntersectionsReturn = avoidIntersectons( f->geometry() );
int avoidIntersectionsReturn = avoidIntersections( f->geometry() );
if ( avoidIntersectionsReturn == 1 )
{
//not a polygon type. Impossible to get there
Expand Down Expand Up @@ -520,7 +520,7 @@ void QgsMapToolAddFeature::canvasReleaseEvent( QMouseEvent * e )
}
}

int QgsMapToolAddFeature::avoidIntersectons( QgsGeometry* g )
int QgsMapToolAddFeature::avoidIntersections( QgsGeometry* g )
{
int returnValue = 0;

Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsmaptooladdfeature.h
Expand Up @@ -31,5 +31,5 @@ class QgsMapToolAddFeature: public QgsMapToolCapture
@return 2 if avoid intersection would change the geometry type, \
3 other error during intersection removal
@note Consider moving this into analysis lib since it is now used by QgsGpsInformation too. */
static int avoidIntersectons( QgsGeometry* g );
static int avoidIntersections( QgsGeometry* g );
};

0 comments on commit 776e7d8

Please sign in to comment.