This commit is contained in:
tildearrow 2024-01-28 22:52:07 -05:00
parent 4d777bf877
commit 311814f34a

View file

@ -946,7 +946,7 @@ void FurnaceGUI::doAction(int what) {
case GUI_ACTION_SAMPLE_LIST_DIR_VIEW: case GUI_ACTION_SAMPLE_LIST_DIR_VIEW:
sampleListDir=!sampleListDir; sampleListDir=!sampleListDir;
break; break;
case GUI_ACTION_SAMPLE_LIST_MAKE_MAP: case GUI_ACTION_SAMPLE_LIST_MAKE_MAP: {
// determine instrument type // determine instrument type
std::vector<DivInstrumentType> tempTypeList=e->getPossibleInsTypes(); std::vector<DivInstrumentType> tempTypeList=e->getPossibleInsTypes();
makeInsTypeList.clear(); makeInsTypeList.clear();
@ -1012,7 +1012,7 @@ void FurnaceGUI::doAction(int what) {
updateFMPreview=true; updateFMPreview=true;
} }
break; break;
break; }
case GUI_ACTION_SAMPLE_SELECT: case GUI_ACTION_SAMPLE_SELECT:
if (curSample<0 || curSample>=(int)e->song.sample.size()) break; if (curSample<0 || curSample>=(int)e->song.sample.size()) break;