Used a constant for the default high value.

This commit is contained in:
skidau
2014-09-07 14:25:06 +10:00
parent 8abe9622fd
commit 7863295555
2 changed files with 2 additions and 1 deletions

View File

@ -911,7 +911,7 @@ ControlGroupBox::ControlGroupBox(ControllerEmu::ControlGroup* const group, wxWin
//options
for (auto& groupSetting : group->settings)
{
if (groupSetting.get()->high == 100)
if (groupSetting.get()->high == DEFAULT_HIGH_VALUE)
{
PadSettingCheckBox* setting_cbox = new PadSettingCheckBox(parent, groupSetting.get());
if (groupSetting.get()->is_iterate == true)