From a6e86d0a9239b893fbefbeb898dbd5a60f187300 Mon Sep 17 00:00:00 2001 From: Sjef Verhoeven PE5PVB Date: Fri, 17 May 2024 15:14:24 +0200 Subject: [PATCH] Fixed linebreak (replace with space) in RDS parser --- src/TEF6686.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/TEF6686.cpp b/src/TEF6686.cpp index d11e44d..2286bc4 100644 --- a/src/TEF6686.cpp +++ b/src/TEF6686.cpp @@ -1775,6 +1775,7 @@ void TEF6686::RDScharConverter(const char* input, wchar_t* output, size_t size, for (size_t i = 0; i < size - 1; i++) { char currentChar = input[i]; switch (currentChar) { + case 0x0A: if (under && underscore) output[i] = L'_'; else output[i] = L' '; break; case 0x20: if (under && underscore) output[i] = L'_'; else output[i] = L' '; break; case 0x21 ... 0x5D: output[i] = static_cast(currentChar); break; case 0x5E: output[i] = L'―'; break;