Skip to content

Commit

Permalink
followup r14150
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@14151 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 26, 2010
1 parent 7840204 commit ae6ad4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2846,7 +2846,7 @@ QgsRectangle QgsPostgresProvider::extent()
// dateline extent() returns -180 to 180 (which appears right), but
// estimated_extent() returns eastern bound of data (>-180) and
// 180 degrees.
if ( ext.contains( ",180 " ) )
if ( !ext.startsWith( "180 ") && ext.contains( ",180 " ) )
{
ext.clear();
}
Expand Down

0 comments on commit ae6ad4e

Please sign in to comment.