Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix build with proj4
  • Loading branch information
nyalldawson committed Apr 15, 2019
1 parent 75993af commit 5f41e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgscoordinatereferencesystem.cpp
Expand Up @@ -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---------------------------------------------------------------" ) );
Expand Down

0 comments on commit 5f41e54

Please sign in to comment.