We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d24175a + 963e06e commit 132818fCopy full SHA for 132818f
fred2/ship_select.cpp
@@ -160,14 +160,12 @@ BOOL ship_select::OnInitDialog()
160
if (i < (int)Iff_info.size())
161
{
162
GetDlgItem(IDC_FILTER_SHIPS_IFF[i])->SetWindowText(Iff_info[i].iff_name);
163
+ GetDlgItem(IDC_FILTER_SHIPS_IFF[i])->EnableWindow(m_filter_ships);
164
}
165
166
GetDlgItem(IDC_FILTER_SHIPS_IFF[i])->ShowWindow(i < (int)Iff_info.size());
167
168
- for (i = 0; i < (int)Iff_info.size(); i++)
169
- GetDlgItem(IDC_FILTER_SHIPS_IFF[i])->EnableWindow(m_filter_ships);
170
-
171
wlist_size = wplist_size = 0;
172
wing_index.clear();
173
wing_sel_last.clear();
0 commit comments