From 0c657f02c1b796f8c834dbe14637593adade0c4b Mon Sep 17 00:00:00 2001 From: Sjef Verhoeven PE5PVB Date: Thu, 2 Jan 2025 23:35:48 +0100 Subject: [PATCH] Fixed weird shift in PS --- src/rds.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rds.cpp b/src/rds.cpp index 06a3e85..b7652fa 100644 --- a/src/rds.cpp +++ b/src/rds.cpp @@ -723,8 +723,8 @@ void showPS() { } else { xPos5 = 0; PSSprite.fillSprite(BackgroundColor); - length12 = PSSprite.textWidth(radio.rds.stationName.substring(0, 2)); - length34 = PSSprite.textWidth(radio.rds.stationName.substring(2, 4)) + length12; + length12 = PSSprite.textWidth(radio.rds.stationName.substring(0, 2)) - 2; + length34 = PSSprite.textWidth(radio.rds.stationName.substring(2, 4)) + length12 + 2; length56 = PSSprite.textWidth(radio.rds.stationName.substring(4, 6)) + length34; if (PSold.substring(0, 2) != radio.rds.stationName.substring(0, 2)) ps12errorold = true;