From d949ef1b8a626afc1638df2d9f768a72cb9d70da Mon Sep 17 00:00:00 2001 From: luxsie <877033040@qq.com> Date: Fri, 15 Aug 2014 21:36:20 +0800 Subject: [PATCH] Removed checking <0 on unsigned int. (lol) --- rpcs3/Gui/SaveDataUtility.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rpcs3/Gui/SaveDataUtility.cpp b/rpcs3/Gui/SaveDataUtility.cpp index 8c888dc084..82ed6a70d2 100644 --- a/rpcs3/Gui/SaveDataUtility.cpp +++ b/rpcs3/Gui/SaveDataUtility.cpp @@ -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; }