From 5fe293af9dd9d4d22c494113de713461418cb52f Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 8 Jul 2014 14:31:09 -0400 Subject: [PATCH] DolphinWX: Remove redundant casts in ISOProperties These are both int, so the cast isn't necessary --- Source/Core/DolphinWX/ISOProperties.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/DolphinWX/ISOProperties.cpp b/Source/Core/DolphinWX/ISOProperties.cpp index 09102953f0..c801ac0244 100644 --- a/Source/Core/DolphinWX/ISOProperties.cpp +++ b/Source/Core/DolphinWX/ISOProperties.cpp @@ -267,7 +267,7 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW // Here we set all the info to be shown (be it SJIS or Ascii) + we set the window title if (!IsWad) { - ChangeBannerDetails((int)SConfig::GetInstance().m_LocalCoreStartupParameter.SelectedLanguage); + ChangeBannerDetails(SConfig::GetInstance().m_LocalCoreStartupParameter.SelectedLanguage); } else { @@ -539,7 +539,7 @@ void CISOProperties::CreateGUIControls(bool IsWad) arrayStringFor_Lang.Add(_("Spanish")); arrayStringFor_Lang.Add(_("Italian")); arrayStringFor_Lang.Add(_("Dutch")); - int language = (int)SConfig::GetInstance().m_LocalCoreStartupParameter.SelectedLanguage; + int language = SConfig::GetInstance().m_LocalCoreStartupParameter.SelectedLanguage; if (IsWad) { arrayStringFor_Lang.Insert(_("Japanese"), 0);