Fixed band plan name not appearing correctly

This commit is contained in:
Ryzerth 2020-08-21 17:12:48 +02:00
parent bf6210721d
commit 7190acfe9e

View File

@ -732,8 +732,8 @@ void drawWindow() {
config::configModified = true;
}
bandplan::BandPlan_t plan = bandplan::bandplans[bandplan::bandplanNames[bandplanId.val]];
ImGui::Text("Country: %s (%s)", plan.countryName, plan.countryCode);
ImGui::Text("Author: %s", plan.authorName);
ImGui::Text("Country: %s (%s)", plan.countryName.c_str(), plan.countryCode.c_str());
ImGui::Text("Author: %s", plan.authorName.c_str());
ImGui::Spacing();
}