Skip to content
Permalink
Browse files

fix garbled exceptions on proj errors

git-svn-id: http://svn.osgeo.org/qgis/trunk@12550 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Dec 20, 2009
1 parent 7736a27 commit 32ea3a2ae157dede3cc348f4af1cb30cd72f96a5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgscoordinatetransform.cpp
@@ -483,7 +483,7 @@ void QgsCoordinateTransform::transformCoords( const int& numPoints, double *x, d
}
}

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

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

0 comments on commit 32ea3a2

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