mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 12:04:56 +00:00
DolphinWX: Remove redundant casts in ISOProperties
These are both int, so the cast isn't necessary
This commit is contained in:
parent
3bde3988eb
commit
5fe293af9d
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue