Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix warning (and snapping bug)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10012 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jan 25, 2009
1 parent 3200e3e commit 771c57d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposition.cpp
Expand Up @@ -589,7 +589,7 @@ void QgsComposition::sortZList()

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

0 comments on commit 771c57d

Please sign in to comment.