diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2022-05-16 17:03:15 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2022-05-16 17:03:15 -0400 |
commit | 67ffe1f2ce9f3432cb524dced5e6fba96519b4fd (patch) | |
tree | c61a251e0bbad2570a1cf7dd6b7c5b1a6abde2a8 /source | |
parent | 1b176cf6cd75c8031a140961655cdd3c16589a68 (diff) |
building with mingw
Diffstat (limited to 'source')
-rw-r--r-- | source/file.cpp | 2 | ||||
-rw-r--r-- | source/main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/file.cpp b/source/file.cpp index fe5dafb..b4332f4 100644 --- a/source/file.cpp +++ b/source/file.cpp @@ -104,7 +104,7 @@ void fileRenderMenu() if (ImGui::BeginMenu("Open Example")) { for (const auto& file : fileExampleList) { - if (ImGui::MenuItem(file.filename().c_str())) { + if (ImGui::MenuItem(file.filename().string().c_str())) { fileCurrentPath = file.string(); openCurrentFile(); diff --git a/source/main.cpp b/source/main.cpp index e8641bc..d6277b7 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -47,7 +47,7 @@ static ImFont *fontMono = nullptr; static void renderWindow(); -int main(int, char **) +int main(int argc, char *argv[]) { if (!guiInitialize()) return -1; |