From 8fdbf429ef959410626807e22efd11a2f25aa086 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 28 Jan 2024 16:46:49 +0100 Subject: [PATCH] Fixed an issue where an extra blankspace was appended to text elements when setting the systemdata property to gamecountGames or gamecountGamesNoText --- es-app/src/views/SystemView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-app/src/views/SystemView.cpp b/es-app/src/views/SystemView.cpp index a40a3cb75..52a26ae97 100644 --- a/es-app/src/views/SystemView.cpp +++ b/es-app/src/views/SystemView.cpp @@ -839,7 +839,7 @@ void SystemView::updateGameCount(SystemData* system) else { ss << gameCount.first << " Game" << (gameCount.first == 1 ? " " : "s ") << "(" << gameCount.second << " Favorite" << (gameCount.second == 1 ? ")" : "s)"); - ssGames << gameCount.first << " Game" << (gameCount.first == 1 ? " " : "s "); + ssGames << gameCount.first << " Game" << (gameCount.first == 1 ? "" : "s"); ssFavorites << gameCount.second << " Favorite" << (gameCount.second == 1 ? "" : "s"); games = true; }