From a63c10ec5c060bfe9cd54d202db0b6c6cbd84bb4 Mon Sep 17 00:00:00 2001 From: Pieter Hulshoff Date: Fri, 17 Jun 2016 08:46:57 +0200 Subject: [PATCH] Added uppercase/lowercase support for all reloadableText types. --- RetroFE/Source/Graphics/Component/ReloadableText.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/RetroFE/Source/Graphics/Component/ReloadableText.cpp b/RetroFE/Source/Graphics/Component/ReloadableText.cpp index 017182f..3bdba4d 100644 --- a/RetroFE/Source/Graphics/Component/ReloadableText.cpp +++ b/RetroFE/Source/Graphics/Component/ReloadableText.cpp @@ -158,15 +158,15 @@ void ReloadableText::ReloadTexture() } else if (type_ == "ctrlType") { - ss << selectedItem->ctrlType; + text = selectedItem->ctrlType; } else if (type_ == "numberJoyWays") { - ss << selectedItem->joyWays; + text = selectedItem->joyWays; } else if (type_ == "rating") { - ss << selectedItem->rating; + text = selectedItem->rating; } else if (type_ == "year") { @@ -177,7 +177,7 @@ void ReloadableText::ReloadTexture() } else if (type_ == "title") { - ss << selectedItem->title; + text = selectedItem->title; } else if (type_ == "manufacturer") { @@ -195,11 +195,11 @@ void ReloadableText::ReloadTexture() } else if (type_ == "playlist") { - ss << playlistName; + text = playlistName; } else if (type_ == "collectionName") { - ss << page.getCollectionName(); + text = page.getCollectionName(); } else if (type_ == "collectionSize") {