From c06b28ca117839894ad520ca2fd8667ebc0e8438 Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Mon, 17 Jul 2023 13:42:58 -0700 Subject: [PATCH] Fix non-portals build and remove some temporary debugging code generating warnings when compiling the Windows build --- file_browser.cpp | 2 +- main.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/file_browser.cpp b/file_browser.cpp index 6fab8f2..adcd2b9 100644 --- a/file_browser.cpp +++ b/file_browser.cpp @@ -142,7 +142,7 @@ void FileBrowser::Display() { #ifdef PORTALS g_main_context_iteration(main_context, false); #else - fallback.Display() + fallback.Display(); #endif } diff --git a/main.cpp b/main.cpp index 8f54635..21649e8 100644 --- a/main.cpp +++ b/main.cpp @@ -400,7 +400,6 @@ int main(int, char**) } else { ImGui::TableSetColumnIndex(1); if (ImGui::SmallButton((string(ICON_FK_WINDOW_CLOSE "##") + themePath.stem().generic_string()).c_str())) { - printf("%s\n", themePath.c_str()); std::filesystem::remove(themePath); Theme::updateAvailableThemes(); break;