Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed stupid bool to int conversion warnings.
  • Loading branch information
Parlane committed Dec 23, 2012
1 parent a760593 commit 3a2c0b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Src/VideoConfigDiag.h
Expand Up @@ -112,7 +112,7 @@ class VideoConfigDiag : public wxDialog
void Event_ProgressiveScan(wxCommandEvent &ev)
{
SConfig::GetInstance().m_SYSCONF->SetData("IPL.PGS", ev.GetInt());
SConfig::GetInstance().m_LocalCoreStartupParameter.bProgressive = ev.GetInt();
SConfig::GetInstance().m_LocalCoreStartupParameter.bProgressive = ev.IsChecked();

ev.Skip();
}
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Src/WiimoteConfigDiag.h
Expand Up @@ -61,7 +61,7 @@ class WiimoteConfigDiag : public wxDialog
}
void OnReconnectOnLoad(wxCommandEvent& event)
{
SConfig::GetInstance().m_WiimoteReconnectOnLoad = event.GetInt();
SConfig::GetInstance().m_WiimoteReconnectOnLoad = event.IsChecked();
event.Skip();
}

Expand Down

0 comments on commit 3a2c0b7

Please sign in to comment.