fix: warnings in imgui locale handling

This commit is contained in:
Hyblocker committed 2026-02-26 11:42:44 +01:00
1 parent 9c22d7330d
commit 33d2baae9c
1 file changed
+2 -2
+2 -2
View File
@@ -10,9 +10,9 @@ namespace spacecal {
ImGui::SetNextWindowPos(ImVec2(10.0f, ImGui::GetWindowHeight() - ImGui::GetFrameHeightWithSpacing()));
ImGui::BeginChild("spacecal_version_box", ImVec2(ImGui::GetWindowWidth() - 20.0f, ImGui::GetFrameHeightWithSpacing() * 2), ImGuiChildFlags_None);
if (bIsRunningInOverlay) {
ImGui::Text(LOCALE_FORMAT("app_title_vr", "Space Calibrator Nova", SPACECAL_VERSION_STRING).c_str());
ImGui::Text("%s", LOCALE_FORMAT("app_title_vr", "Space Calibrator Nova", SPACECAL_VERSION_STRING).c_str());
} else {
ImGui::Text(LOCALE_FORMAT("app_title", "Space Calibrator Nova", SPACECAL_VERSION_STRING).c_str());
ImGui::Text("%s", LOCALE_FORMAT("app_title", "Space Calibrator Nova", SPACECAL_VERSION_STRING).c_str());
}
ImGui::EndChild();
}