Fix Open File Dialog error for a long path

Fix #4345
pull/4537/merge
WoodsCheney 2018-03-26 20:29:22 +08:00 committed by Don HO
parent a83fa30de6
commit bac637ddfa
1 changed files with 1 additions and 3 deletions

View File

@ -42,9 +42,7 @@ FileDialog::FileDialog(HWND hwnd, HINSTANCE hInst)
staticThis = this;
//for (int i = 0 ; i < nbExtMax ; i++)
// _extArray[i][0] = '\0';
_fileName[0] = '\0';
memset(_fileName, 0, sizeof(_fileName));
_winVersion = (NppParameters::getInstance())->getWinVersion();
_ofn.lStructSize = sizeof(_ofn);