Fix ASCII character detection in conversion to std::string

the 'Space' ASCII character should also be recognized as such.
This commit is contained in:
Jack Olivieri 2019-08-30 12:39:35 +02:00
parent 81c2938faa
commit f910c90149

View File

@ -544,7 +544,7 @@ class message_t
while (size--) {
byte = *msg_data++;
is_ascii[1] = (byte >= 33 && byte < 127);
is_ascii[1] = (byte >= 32 && byte < 127);
if (is_ascii[1] != is_ascii[0])
os << " "; // Separate text/non text