Skip to content
Permalink
Browse files
Fix compile error
  • Loading branch information
mhugent committed Mar 2, 2012
1 parent 92a5894 commit 337eec35fafbfc1b58a450a221bfeaa1d852da21
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsmaptooloffsetcurve.cpp
@@ -357,7 +357,7 @@ void QgsMapToolOffsetCurve::setOffsetForRubberBand( double offset, bool leftSide
//need at least geos 3.3 for OffsetCurve tool
#if defined(GEOS_VERSION_MAJOR) && defined(GEOS_VERSION_MINOR) && \
((GEOS_VERSION_MAJOR>3) || ((GEOS_VERSION_MAJOR==3) && (GEOS_VERSION_MINOR>=3)))
GEOSGeometry* offsetGeom = GEOSOffsetCurve( geosGeom, ( leftSide > 0 ) ? offset : -offset, quadSegments, joinStyle, mitreLimit );
offsetGeom = GEOSOffsetCurve( geosGeom, ( leftSide > 0 ) ? offset : -offset, quadSegments, joinStyle, mitreLimit );
#else
return;
#endif //GEOS_VERSION

0 comments on commit 337eec3

Please sign in to comment.