From ee450783622008698647010540d9b9a9d55cb323 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Tue, 15 Mar 2022 22:29:53 -0700 Subject: Temporarily switch to cstdio instead of custom FileStream implementation --- core/src/UI/UI_MainWindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'core/src/UI/UI_MainWindow.cpp') diff --git a/core/src/UI/UI_MainWindow.cpp b/core/src/UI/UI_MainWindow.cpp index ce6e2e0..d059359 100644 --- a/core/src/UI/UI_MainWindow.cpp +++ b/core/src/UI/UI_MainWindow.cpp @@ -13,7 +13,7 @@ namespace fs = std::filesystem; -namespace { +namespace CPLT_UNITY_ID { void ProjectTab_Normal() { auto& gs = GlobalStates::GetInstance(); @@ -181,7 +181,7 @@ void ProjectTab_NoProject() ImGui::EndPopup(); } } -} // namespace +} // namespace CPLT_UNITY_ID void UI::MainWindow() { @@ -199,9 +199,9 @@ void UI::MainWindow() if (ImGui::BeginTabItem(ICON_FA_FILE " " I18N_TEXT("Project", L10N_MAIN_WINDOW_TAB_PROJECT), nullptr)) { if (gs.HasCurrentProject()) { - ProjectTab_Normal(); + CPLT_UNITY_ID::ProjectTab_Normal(); } else { - ProjectTab_NoProject(); + CPLT_UNITY_ID::ProjectTab_NoProject(); } ImGui::EndTabItem(); } -- cgit v1.2.3-70-g09d2