summaryrefslogtreecommitdiff
path: root/src/ui/ui_main.cpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2025-08-16 14:31:53 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2025-08-16 14:31:53 +0200
commitf0fc9fa21ad9efa47556d7a03aa2b13081028ac6 (patch)
treee1e52679ca75f5d519e23b2845710bf75922a318 /src/ui/ui_main.cpp
parent6273aef9aa9a4ac5375710d51a5bc33f62265d76 (diff)
refactor administration api
Diffstat (limited to 'src/ui/ui_main.cpp')
-rw-r--r--src/ui/ui_main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/ui_main.cpp b/src/ui/ui_main.cpp
index b4617d1..2d79129 100644
--- a/src/ui/ui_main.cpp
+++ b/src/ui/ui_main.cpp
@@ -125,12 +125,12 @@ void ui_draw_main()
ImGuiWindowFlags_NoBringToFrontOnFocus |
ImGuiWindowFlags_NoCollapse);
- char* path = administration_get_file_path();
+ char* path = administration_file_path_get();
if (strlen(path) == 0) {
ImGui::Text("%s: %s", localize("ui.workingOn"), localize("ui.unsavedProject"));
}
else {
- ImGui::Text("%s: %s", localize("ui.workingOn"), administration_get_file_path());
+ ImGui::Text("%s: %s", localize("ui.workingOn"), administration_file_path_get());
}
ImGui::End();