From 266a35f8855de1fe8781d0fa2d4c0b3617860e8d Mon Sep 17 00:00:00 2001 From: YohananDiamond Date: Mon, 5 Feb 2024 01:20:40 -0300 Subject: [PATCH] command palette: whoops!! (hex instrument numbers) --- src/gui/commandPalette.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/commandPalette.cpp b/src/gui/commandPalette.cpp index fb922773e..6052fe054 100644 --- a/src/gui/commandPalette.cpp +++ b/src/gui/commandPalette.cpp @@ -94,7 +94,7 @@ void FurnaceGUI::drawPalette() { paletteSearchResults.push_back(0); } for (int i=0; isong.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: