fix mishap in subSongs

This commit is contained in:
tildearrow 2024-06-11 02:09:52 -05:00
parent 454330d561
commit fd4d1cedf2

View file

@ -29,7 +29,7 @@ void FurnaceGUI::drawSubSongs(bool asChild) {
ImGui::TableSetupColumn("c1",ImGuiTableColumnFlags_WidthFixed); ImGui::TableSetupColumn("c1",ImGuiTableColumnFlags_WidthFixed);
for (size_t i=0; i<e->song.subsong.size(); i++) { for (size_t i=0; i<e->song.subsong.size(); i++) {
if (e->song.subsong[i]->name.empty()) { if (e->song.subsong[i]->name.empty()) {
snprintf(id,1023,"%d. <no name>",(int)i+1); snprintf(id,1023,_("%d. <no name>"),(int)i+1);
} else { } else {
snprintf(id,1023,"%d. %s",(int)i+1,e->song.subsong[i]->name.c_str()); snprintf(id,1023,"%d. %s",(int)i+1,e->song.subsong[i]->name.c_str());
} }