Skip to content
Permalink
Browse files

fix warning (and snapping bug)

git-svn-id: http://svn.osgeo.org/qgis/trunk@10012 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Jan 25, 2009
1 parent 3200e3e commit 771c57dfd2742d6c16f4a8cf72d907790cc3a387
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/composer/qgscomposition.cpp
@@ -589,7 +589,7 @@ void QgsComposition::sortZList()

QPointF QgsComposition::snapPointToGrid( const QPointF& scenePoint ) const
{
if ( !mSnapToGrid || ( !mSnapGridResolution > 0 ) )
if ( !mSnapToGrid || mSnapGridResolution <= 0 )
{
return scenePoint;
}

0 comments on commit 771c57d

Please sign in to comment.
You can’t perform that action at this time.