diff --git a/src/imgui/taskbar.cpp b/src/imgui/taskbar.cpp index 9ea518e..a7a3e89 100644 --- a/src/imgui/taskbar.cpp +++ b/src/imgui/taskbar.cpp @@ -424,7 +424,7 @@ namespace anm2ed::imgui : dialog::NONE; auto replace_extension = [&]() - { path = std::filesystem::path(path).replace_extension(render::EXTENSIONS[type]); }; + { path = std::filesystem::path(path).replace_extension(render::EXTENSIONS[type]).string(); }; auto range_to_length = [&]() { diff --git a/src/render.cpp b/src/render.cpp index 19f6243..61098f1 100644 --- a/src/render.cpp +++ b/src/render.cpp @@ -18,9 +18,8 @@ #endif #include "log.h" -#include "string_.h" -using namespace anm2ed::util; + using namespace anm2ed::resource; using namespace glm; @@ -112,7 +111,7 @@ namespace anm2ed } #if _WIN32 - command = string::quote(command); + command = util::string::quote(command); #endif logger.command(command);