SaveTool: eliminate a few format warnings.
This commit is contained in:
parent
88afaaceec
commit
89bba618fb
2 changed files with 4 additions and 4 deletions
|
@ -188,10 +188,10 @@ void SaveTool::drawGeneralInfo() {
|
||||||
ImGui::TextUnformatted("Story progress:");
|
ImGui::TextUnformatted("Story progress:");
|
||||||
ImGui::SameLine(0.0f, ImGui::GetStyle().ItemSpacing.x / 4.0f);
|
ImGui::SameLine(0.0f, ImGui::GetStyle().ItemSpacing.x / 4.0f);
|
||||||
if(!it->after) {
|
if(!it->after) {
|
||||||
ImGui::TextWrapped("%s - %s", it->chapter, it->point);
|
ImGui::TextWrapped("%s - %s", it->chapter.data(), it->point.data());
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
ImGui::TextWrapped("%s - %s - %s", it->chapter, it->after, it->point);
|
ImGui::TextWrapped("%s - %s - %s", it->chapter.data(), it->after.data(), it->point.data());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -199,7 +199,7 @@ void SaveTool::drawGeneralInfo() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(mission_id_map.find(_currentProfile->lastMissionId()) != mission_id_map.cend()) {
|
if(mission_id_map.find(_currentProfile->lastMissionId()) != mission_id_map.cend()) {
|
||||||
ImGui::Text("Last mission: %s", mission_id_map.at(_currentProfile->lastMissionId()));
|
ImGui::Text("Last mission: %s", mission_id_map.at(_currentProfile->lastMissionId()).data());
|
||||||
}
|
}
|
||||||
else if(_currentProfile->lastMissionId() == -1) {
|
else if(_currentProfile->lastMissionId() == -1) {
|
||||||
ImGui::TextUnformatted("Last mission: none");
|
ImGui::TextUnformatted("Last mission: none");
|
||||||
|
|
|
@ -491,7 +491,7 @@ void SaveTool::drawAccessoryEditor(Accessory& accessory, Containers::ArrayView<C
|
||||||
ImGui::TextUnformatted("Accessory: <none>");
|
ImGui::TextUnformatted("Accessory: <none>");
|
||||||
}
|
}
|
||||||
else if(accessories.find(accessory.id) != accessories.cend()) {
|
else if(accessories.find(accessory.id) != accessories.cend()) {
|
||||||
ImGui::Text("Accessory #%i - %s", accessory.id, accessories.at(accessory.id));
|
ImGui::Text("Accessory #%i - %s", accessory.id, accessories.at(accessory.id).data());
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
ImGui::Text("Accessory #%i", accessory.id);
|
ImGui::Text("Accessory #%i", accessory.id);
|
||||||
|
|
Loading…
Reference in a new issue