---
 src/terraservermapsource.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/terraservermapsource.c b/src/terraservermapsource.c
index 7fb9472..efeb9d0 100644
--- a/src/terraservermapsource.c
+++ b/src/terraservermapsource.c
@@ -187,7 +187,8 @@ _coord_to_mapcoord ( VikMapSource *self, const VikCoord 
*src, gdouble xmpp, gdou
        
        TerraserverMapSourcePrivate *priv = 
TERRASERVER_MAP_SOURCE_PRIVATE(self);
        int type = priv->type;
-       g_assert ( src->mode == VIK_COORD_UTM );
+       if ( src->mode == VIK_COORD_UTM )
+               return FALSE;
 
        if ( xmpp != ympp )
                return FALSE;
-- 
1.7.1


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Reply via email to