aboutsummaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/file.cpp2
-rw-r--r--source/main.cpp2
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;