From 0821197bc1c57c756e737740d6a6de9c83314fae Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Fri, 9 Jan 2026 17:30:15 +0100 Subject: fix warnings --- src/ui/ui_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/ui_main.cpp') diff --git a/src/ui/ui_main.cpp b/src/ui/ui_main.cpp index 0fff65d..5d74fa6 100644 --- a/src/ui/ui_main.cpp +++ b/src/ui/ui_main.cpp @@ -177,7 +177,7 @@ void ui::draw_main() ImGuiWindowFlags_NoBringToFrontOnFocus | ImGuiWindowFlags_NoCollapse); - char* path = administration::get_file_path(); + const char* path = administration::get_file_path(); if (path == NULL) { ImGui::Text("%s: %s", locale::get("ui.workingOn"), locale::get("ui.unsavedProject")); } -- cgit v1.2.3-70-g09d2