From 259f0d36e82384487ca214bfc793cb0097e28f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20M=C3=BCller?= Date: Tue, 14 Jul 2020 22:13:50 +0200 Subject: [PATCH] Ignore case in touchstone import This fixes issue #6 --- measurements.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/measurements.cpp b/measurements.cpp index 0422ff8..1baf4f8 100644 --- a/measurements.cpp +++ b/measurements.cpp @@ -2562,21 +2562,22 @@ void Measurements::importData(QString _name) if ( (line.length() > 2) && (line[0] == '#')) // Option line { line.remove(0,1); + line = line.toUpper(); int ns = sscanf(line.toLocal8Bit(), "%s %s %s %s %s", strn[0], strn[1], strn[2], strn[3], strn[4]); for (int i=0; i