aboutsummaryrefslogtreecommitdiff
path: root/core/src/UI/UI_MainWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/UI/UI_MainWindow.cpp')
-rw-r--r--core/src/UI/UI_MainWindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/UI/UI_MainWindow.cpp b/core/src/UI/UI_MainWindow.cpp
index 001c2b8..4f09281 100644
--- a/core/src/UI/UI_MainWindow.cpp
+++ b/core/src/UI/UI_MainWindow.cpp
@@ -125,7 +125,7 @@ void ProjectTab_NoProject() {
// Recent projects
ImGui::Separator();
- ImGui::Text("%s", ls->RecentProjects.Get());
+ ImGui::TextUnformatted(ls->RecentProjects.Get());
ImGui::SameLine();
if (ImGui::Button(ls->ClearRecentProjects.Get())) {
@@ -137,11 +137,11 @@ void ProjectTab_NoProject() {
size_t toRemoveIdx = rp.size();
if (rp.empty()) {
- ImGui::Text("%s", ls->NoRecentProjectsMessage.Get());
+ ImGui::TextUnformatted(ls->NoRecentProjectsMessage.Get());
} else {
for (auto it = rp.rbegin(); it != rp.rend(); ++it) {
auto& [path, recent] = *it;
- ImGui::Text("%s", recent.c_str());
+ ImGui::TextUnformatted(recent.c_str());
size_t idx = std::distance(it, rp.rend()) - 1;
ImGui::PushID(idx);