From 101bdf4bfc0d3fa229ecbfc219edb29abce7e66e Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 2 Aug 2020 12:44:33 +0200 Subject: [PATCH] Changed the scraped file display name from upper case to original case. --- es-app/src/guis/GuiGameScraper.cpp | 4 ++-- es-app/src/guis/GuiScraperMulti.cpp | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/es-app/src/guis/GuiGameScraper.cpp b/es-app/src/guis/GuiGameScraper.cpp index ff8f942a0..01ee822ff 100644 --- a/es-app/src/guis/GuiGameScraper.cpp +++ b/es-app/src/guis/GuiGameScraper.cpp @@ -32,8 +32,8 @@ GuiGameScraper::GuiGameScraper( // Row 0 is a spacer. - mGameName = std::make_shared(mWindow, Utils::String::toUpper( - Utils::FileSystem::getFileName(mSearchParams.game->getPath())), + mGameName = std::make_shared(mWindow, + Utils::FileSystem::getFileName(mSearchParams.game->getPath()), Font::get(FONT_SIZE_MEDIUM), 0x777777FF, ALIGN_CENTER); mGrid.setEntry(mGameName, Vector2i(0, 1), false, true); diff --git a/es-app/src/guis/GuiScraperMulti.cpp b/es-app/src/guis/GuiScraperMulti.cpp index 2d6b36a22..85bc2b103 100644 --- a/es-app/src/guis/GuiScraperMulti.cpp +++ b/es-app/src/guis/GuiScraperMulti.cpp @@ -132,8 +132,7 @@ void GuiScraperMulti::doNextSearch() // Update subtitle. ss.str(""); // Clear. ss << "GAME " << (mCurrentGame + 1) << " OF " << mTotalGames << " - " << - Utils::String::toUpper(Utils::FileSystem::getFileName( - mSearchQueue.front().game->getPath())); + Utils::FileSystem::getFileName(mSearchQueue.front().game->getPath()); mSubtitle->setText(ss.str()); mSearchComp->search(mSearchQueue.front());