EvtMainFrame: fixed the getActiveSlot rewrite.

This commit is contained in:
Guillaume Jacquemin 2020-01-11 13:23:09 +01:00
parent 8560495ae6
commit 95ab88a735

View file

@ -348,7 +348,7 @@ void EvtMainFrame::getActiveSlot() {
_installedListView->SetItemFont(_activeSlot, tmp_font); _installedListView->SetItemFont(_activeSlot, tmp_font);
if(iter == mmap.end()) { if(iter == mmap.end()) {
if(std::strncmp(&mmap[0x3F6], "Credit", 6)) { if(std::strncmp(&mmap[0x3F6], "Credit", 6) == 0) {
_activeSlot = 0; _activeSlot = 0;
} }
else { else {