Skip to content

Commit 3fa9052

Browse files
authored
imgui.ini configuration file could not be generated (#182)
1 parent cdf1cfe commit 3fa9052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game/frontend/Menu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ namespace YimMenu
113113
{
114114
auto& IO = ImGui::GetIO();
115115
auto file_path = std::filesystem::path(std::getenv("appdata")) / "YimMenuV2" / "imgui.ini";
116-
std::string path = file_path.string();
116+
static auto path = file_path.string();
117117
IO.IniFilename = path.c_str();
118118
IO.LogFilename = NULL;
119119
ImFontConfig FontCfg{};

0 commit comments

Comments
 (0)