mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-02 02:52:40 +00:00
command palette: whoops!! (hex instrument numbers)
This commit is contained in:
parent
f08ef30cc3
commit
266a35f885
1 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ void FurnaceGUI::drawPalette() {
|
|||
paletteSearchResults.push_back(0);
|
||||
}
|
||||
for (int i=0; i<e->song.insLen; i++) {
|
||||
String s=fmt::sprintf("%02x: %s", i, e->song.ins[i]->name.c_str());
|
||||
String s=fmt::sprintf("%02X: %s", i, e->song.ins[i]->name.c_str());
|
||||
if (matchFuzzy(s.c_str(),paletteQuery.c_str())) {
|
||||
paletteSearchResults.push_back(i+1); // because over here ins=0 is 'None'
|
||||
}
|
||||
|
@ -166,7 +166,7 @@ void FurnaceGUI::drawPalette() {
|
|||
if (id==0) {
|
||||
s="- None -";
|
||||
} else {
|
||||
s=fmt::sprintf("%02d: %s", id-1, e->song.ins[id-1]->name.c_str());
|
||||
s=fmt::sprintf("%02X: %s", id-1, e->song.ins[id-1]->name.c_str());
|
||||
}
|
||||
break;
|
||||
case CMDPAL_TYPE_SAMPLES:
|
||||
|
|
Loading…
Reference in a new issue