mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-16 04:35:13 +03:00
https://theforceengine.github.io/ "Modern rebuild of the Jedi Engine (needs purchased copy of game data files to run)
17 lines
803 B
Diff
17 lines
803 B
Diff
--- TheForceEngine-1.09.410.bak/TheForceEngine/TFE_A11y/accessibility.cpp
|
|
+++ TheForceEngine-1.09.410/TheForceEngine/TFE_A11y/accessibility.cpp
|
|
@@ -303,12 +303,12 @@
|
|
//TFE_System::logWrite(LOG_ERROR, "a11y", (std::to_string(i) + " " + std::to_string(textSize.y) + ", " + std::to_string(lineHeight) + " " + std::to_string(lines) + " " + std::to_string(totalLines) + " " + std::to_string(windowSize.y)).c_str());
|
|
if (wrapText)
|
|
{
|
|
- ImGui::TextWrapped(title->text.c_str());
|
|
+ ImGui::TextWrapped("%s", title->text.c_str());
|
|
}
|
|
else
|
|
{
|
|
ImGui::SetCursorPosX((windowSize.x - textSize.x) * 0.5f);
|
|
- ImGui::Text(title->text.c_str());
|
|
+ ImGui::Text("%s", title->text.c_str());
|
|
}
|
|
|
|
// Reduce the caption's time remaining, removing it from the list if it's out of time
|