summaryrefslogtreecommitdiffstats
path: root/qthelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qthelper.cpp')
-rw-r--r--qthelper.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/qthelper.cpp b/qthelper.cpp
index 00adb5ad8..a963ad73f 100644
--- a/qthelper.cpp
+++ b/qthelper.cpp
@@ -425,6 +425,13 @@ static bool parseCoord(const QString& txt, int& pos, const QString& positives,
value += number / 3600.0;
numberDefined = false;
secondsDefined = true;
+ } else if ((numberDefined || minutesDefined || secondsDefined) &&
+ (txt[pos] == ',' || txt[pos] == ';')) {
+ // next coordinate coming up
+ // eat the ',' and any subsequent white space
+ while (txt[++pos].isSpace())
+ /* nothing */ ;
+ break;
} else {
return false;
}