From a17001cdf90917511ec4c929b135d9eadc9757c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Du=C5=A1an=20Poizl?= Date: Sat, 21 Mar 2026 22:21:24 +0100 Subject: [PATCH] Trim whitespace string from XISF --- src/imageinfodata.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/imageinfodata.cpp b/src/imageinfodata.cpp index c73bab1..5e97ab1 100644 --- a/src/imageinfodata.cpp +++ b/src/imageinfodata.cpp @@ -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);