Removed checking <0 on unsigned int. (lol)

This commit is contained in:
luxsie 2014-08-15 21:36:20 +08:00
parent 9e59ccd9af
commit d949ef1b8a

View file

@ -96,8 +96,7 @@ SaveDataManageDialog::SaveDataManageDialog(wxWindow* parent, unsigned int* sort_
if (m_sort_type != nullptr)
{
//Check sort type and set it to combo box
if ((*m_sort_type >= m_sort_options->GetCount())
|| (*m_sort_type < 0))
if (*m_sort_type >= m_sort_options->GetCount())
{
*m_sort_type = 0;
}