Trim whitespace string from XISF

This commit is contained in:
2026-03-21 22:21:24 +01:00
parent 305c1d1f55
commit a17001cdf9
+1
View File
@@ -30,6 +30,7 @@ FITSRecord::FITSRecord(const LibXISF::FITSKeyword &record)
string.chop(1);
string.remove(0, 1);
}
string = string.trimmed();
bool isint;
bool isdouble;
double vald = string.toDouble(&isdouble);