From 87b05e736f67debc6fb2750e7a073dc88b1ce96d Mon Sep 17 00:00:00 2001 From: arsamus Date: Sat, 27 Aug 2022 00:45:37 -0300 Subject: [PATCH] Update uimenu.cpp --- src/uimenu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uimenu.cpp b/src/uimenu.cpp index c33dea9..0f306c9 100644 --- a/src/uimenu.cpp +++ b/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); }