--- a/src/file.cpp Wed Oct 16 23:07:59 2013 +0300 +++ b/src/file.cpp Wed Oct 16 23:20:35 2013 +0300 @@ -637,7 +637,7 @@ #define CHECK_TOKEN_NUMBERS(MIN, MAX) \ for (int i = MIN; i <= MAX; ++i) \ - if (!isNumber (tokens[i])) \ + if (!numeric (tokens[i])) \ return new LDError (line, fmt ("Token #%1 was `%2`, expected a number", (i + 1), tokens[i])); // ============================================================================= @@ -645,8 +645,8 @@ static vertex parseVertex (QStringList& s, const int n) { vertex v; -for (const Axis ax : g_Axes) - v[ax] = atof (s[n + ax]); + for (const Axis ax : g_Axes) + v[ax] = s[n + ax].toDouble(); return v; }