Update uimenu.cpp

pull/840/head
probonopd 2 months ago committed by GitHub
parent 839f0b5f22
commit 9965d896fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      src/uimenu.cpp

@ -723,9 +723,9 @@ void CUIMenu::EditProgramNumber (CUIMenu *pUIMenu, TMenuEvent Event)
std::string Value = pUIMenu->m_pMiniDexed->GetVoiceName (nTG);
pUIMenu->m_pUI->DisplayWrite (topLine.c_str(),
pUIMenu->m_pParentMenu[pUIMenu->m_nCurrentMenuItem].Name,
"",
Value.c_str(),
nValue > 0, nValue < (int) CSysExFileLoader::VoicesPerBank-1);
nValue > 0, nValue < (int) CSysExFileLoader::VoicesPerBank);
}
}

Loading…
Cancel
Save