Trim whitespace string from XISF
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user