Skip to content

Commit

Permalink
Update xinject.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
rdbo authored Nov 15, 2020
1 parent 132298c commit b8fa6a6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/xinject/xinject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,7 @@ void XInject::Draw()
{
# if defined(MEM_WIN)
OPENFILENAME ofn;
WCHAR filename[MAX_PATH];
ZeroMemory(&ofn, sizeof(OPENFILENAME));

ofn.lStructSize = sizeof(OPENFILENAME);
ofn.hwndOwner = NULL;
ofn.lpstrFile = this->lib_path;
Expand Down Expand Up @@ -276,4 +274,4 @@ void XInject::MsgBox(const char msg[])
snprintf(buf, sizeof(buf), cmd, msg);
system(buf);
# endif
}
}

0 comments on commit b8fa6a6

Please sign in to comment.