Update uimenu.cpp

pull/341/head
arsamus 3 years ago committed by GitHub
parent 109d6e3544
commit 87b05e736f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/uimenu.cpp

@ -596,11 +596,11 @@ void CUIMenu::EditProgramNumber (CUIMenu *pUIMenu, TMenuEvent Event)
if(bAutoBankSkip)
{
string uchBankName = pUIMenu->m_pMiniDexed->GetSysExFileLoader ()->GetBankName (nBankNumber);
string uchBankName = "" + pUIMenu->m_pMiniDexed->GetSysExFileLoader ()->GetBankName (nBankNumber);
uchBankName = uchBankName.substr(0,11);
pUIMenu->m_pUI->DisplayWrite (TG.c_str (),
uchBankName,
uchBankName.c_str(),
Value.c_str (),
nValue > 0, nValue < (int) CSysExFileLoader::VoicesPerBank-1) && nBankNumber < (int) CSysExFileLoader::MaxVoiceBankID);
}

Loading…
Cancel
Save