Removed checking <0 on unsigned int. (lol)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user