Skip to content
Permalink
Browse files

Fix build with proj4

  • Loading branch information
nyalldawson committed Apr 8, 2019
1 parent 75993af commit 5f41e54042e5780a057e0b204b2f59ae39b7e99e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgscoordinatereferencesystem.cpp
@@ -628,7 +628,7 @@ bool QgsCoordinateReferenceSystem::createFromWkt( const QString &wkt )
const char *pWkt = ba.data();

OGRErr myInputResult = OSRImportFromWkt( d->mCRS, const_cast< char ** >( & pWkt ) );
res = myInputResult != OGRERR_NONE;
res = myInputResult == OGRERR_NONE;
if ( !res )
{
QgsDebugMsg( QStringLiteral( "\n---------------------------------------------------------------" ) );

0 comments on commit 5f41e54

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