Commit 61f7f1b6 authored by Purves, Murray's avatar Purves, Murray
Browse files

Trimming tag string on read

parent a500477a
......@@ -233,7 +233,7 @@ bool SpectrumPCFStream<data_type>::read_from(const std::string &file)
std::string dateTime = trim_string(stream.readString(23));
radix_line(" date/time: " << dateTime);
// Tag
std::string tag = stream.readString(1);
std::string tag = trim_string(stream.readString(1));
radix_line(" tag: " << tag);
// Live time
float liveTime = stream.readFloat();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment