mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
Fixes Sorting in Linux, already tested in Windows. and if logging isn't enabled when loading a dynamic library in Linux, it will print instead of log
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@527 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -154,7 +154,7 @@ CFrame::CFrame(wxFrame* parent,
|
||||
|
||||
m_GameListCtrl = new CGameListCtrl(m_Panel, LIST_CTRL,
|
||||
wxDefaultPosition, wxDefaultSize,
|
||||
wxLC_REPORT | wxSUNKEN_BORDER | wxLC_ALIGN_LEFT | wxLC_SINGLE_SEL | wxLC_SORT_ASCENDING);
|
||||
wxLC_REPORT | wxSUNKEN_BORDER | wxLC_ALIGN_LEFT | wxLC_SINGLE_SEL);
|
||||
|
||||
wxBoxSizer* sizerPanel = new wxBoxSizer(wxHORIZONTAL);
|
||||
sizerPanel->Add(m_GameListCtrl, 2, wxEXPAND | wxALL);
|
||||
|
@ -47,7 +47,7 @@ class CISOFile
|
||||
|
||||
bool operator < (const CISOFile &other) const {
|
||||
// HACK - they end up in reverse order in the list view
|
||||
return strcmp(m_Name.c_str(), other.m_Name.c_str()) > 0;
|
||||
return strcasecmp(m_Name.c_str(), other.m_Name.c_str()) < 0;
|
||||
}
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user