Skip to content

Commit 32ea3a2

Browse files
author
jef
committedDec 20, 2009
fix garbled exceptions on proj errors
git-svn-id: http://svn.osgeo.org/qgis/trunk@12550 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 7736a27 commit 32ea3a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgscoordinatetransform.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ void QgsCoordinateTransform::transformCoords( const int& numPoints, double *x, d
483483
}
484484
}
485485

486-
pjErr << tr( "with error: " ) << pj_strerrno( projResult ) << '\n';
486+
pjErr << tr( "with error: " ) << QString::fromUtf8( pj_strerrno( projResult ) ) << '\n';
487487

488488
QgsDebugMsg( "Projection failed emitting invalid transform signal: " + QString( msg.toLocal8Bit().data() ) );
489489

0 commit comments

Comments
 (0)
Please sign in to comment.