Skip to content

Commit

Permalink
Fixed heap corruption issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Strikelesss committed Apr 5, 2023
1 parent 10f5e5b commit d49a3ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/E4BViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ void E4BViewer::DisplayConverter(const ImVec2& windowSize)
if (ImGui::Button("Add Files"))
{
std::vector<TCHAR> szFile{};
szFile.resize(MAX_FILES);
szFile.resize(MAX_PATH * MAX_FILES);

OPENFILENAME ofn{};
ofn.lStructSize = sizeof ofn;
Expand Down

0 comments on commit d49a3ad

Please sign in to comment.