fix: Heap(?) corruption when one of ImHex's resource paths points to a file instead of a directory

This commit is contained in:
WerWolv
2021-12-15 00:21:34 +01:00
parent 0ee4b1e336
commit 23085aee6d
2 changed files with 35 additions and 29 deletions

View File

@@ -62,8 +62,8 @@ namespace hex {
bool m_showTipOfTheDay;
std::string m_tipOfTheDay;
ImGui::Texture m_bannerTexture;
ImGui::Texture m_logoTexture;
ImGui::Texture m_bannerTexture = { 0 };
ImGui::Texture m_logoTexture = { 0 };
std::filesystem::path m_safetyBackupPath;