From 95ab88a735aca201e9b98cf95c8e9e3e9a709a6b Mon Sep 17 00:00:00 2001 From: William JCM Date: Sat, 11 Jan 2020 13:23:09 +0100 Subject: [PATCH] EvtMainFrame: fixed the getActiveSlot rewrite. --- GUI/EvtMainFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GUI/EvtMainFrame.cpp b/GUI/EvtMainFrame.cpp index 9ae0088..0c734b0 100644 --- a/GUI/EvtMainFrame.cpp +++ b/GUI/EvtMainFrame.cpp @@ -348,7 +348,7 @@ void EvtMainFrame::getActiveSlot() { _installedListView->SetItemFont(_activeSlot, tmp_font); if(iter == mmap.end()) { - if(std::strncmp(&mmap[0x3F6], "Credit", 6)) { + if(std::strncmp(&mmap[0x3F6], "Credit", 6) == 0) { _activeSlot = 0; } else {