From db2f37ad6dbd6c9d28d9148ada2bb9950df44aa6 Mon Sep 17 00:00:00 2001 From: irisz64 Date: Thu, 18 Dec 2025 08:48:17 +0100 Subject: [PATCH] Normalize file path first before printing it in spinner animation --- src/frontend/KaizenGui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/KaizenGui.cpp b/src/frontend/KaizenGui.cpp index 1a3416cd..5aff93b3 100644 --- a/src/frontend/KaizenGui.cpp +++ b/src/frontend/KaizenGui.cpp @@ -368,7 +368,7 @@ void KaizenGui::RenderUI() { ImGui::SameLine(); ImGui::PushFont(nullptr, ImGui::GetStyle().FontSizeBase * 2.f); - ImGui::Text("Loading \"%s\"...", fs::path(fileToLoad).stem().c_str()); + ImGui::Text("Loading \"%s\"...", fs::path(fileToLoad).filename().string().c_str()); ImGui::PopFont(); ImGui::End();