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