mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 21:15:11 +00:00
fix mishap in subSongs
This commit is contained in:
parent
454330d561
commit
fd4d1cedf2
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue