From 14dcd87270917232f5679cb990cab05bfe74d60d Mon Sep 17 00:00:00 2001 From: Thomas Gubler Date: Tue, 18 Feb 2014 09:36:54 +0100 Subject: [PATCH] map3D: reverse if statement --- src/ui/map3D/Imagery.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ui/map3D/Imagery.cc b/src/ui/map3D/Imagery.cc index 77d0db825..872977af1 100644 --- a/src/ui/map3D/Imagery.cc +++ b/src/ui/map3D/Imagery.cc @@ -552,8 +552,7 @@ Imagery::UTMtoLL(double utmNorthing, double utmEasting, const QString& utmZone, std::istringstream iss(utmZone.toStdString()); iss >> ZoneNumber >> ZoneLetter; - if ((ZoneLetter - 'N') >= 0) { - } else { + if ((ZoneLetter - 'N') < 0) { y -= 10000000.0;//remove 10,000,000 meter offset used for southern hemisphere } -- 2.22.0