ofn.lpstrCustomFilter = NULL;
ofn.nMaxCustFilter = 0;
ofn.nFilterIndex = 1;
- ofn.lpstrFile = (LPTSTR)szFile;
+ ofn.lpstrFile = (LPTSTR)szFile;
ofn.nMaxFile = MAX_PATH;
- ofn.lpstrFileTitle = NULL;
+ ofn.lpstrFileTitle = NULL;
ofn.nMaxFileTitle = 40;
ofn.lpstrInitialDir = NULL;
ofn.lpstrTitle = _FROMMB(p_arg->psz_title);
- ofn.Flags = 0;
+ ofn.Flags = 0;
ofn.nFileOffset = 0;
ofn.nFileExtension = 0;
ofn.lpstrDefExt = NULL;
ofn.lpstrFilter = szFilter;
ofn.lpstrCustomFilter = NULL;
ofn.nMaxCustFilter = 0;
- ofn.nFilterIndex = 1;
- ofn.lpstrFile = (LPTSTR)szFile;
+ ofn.nFilterIndex = 1;
+ ofn.lpstrFile = (LPTSTR)szFile;
ofn.nMaxFile = MAX_PATH;
- ofn.lpstrFileTitle = NULL;
+ ofn.lpstrFileTitle = NULL;
ofn.nMaxFileTitle = 40;
ofn.lpstrInitialDir = NULL;
ofn.lpstrTitle = _T("Quick Open File");
- ofn.Flags = 0;
+ ofn.Flags = 0;
ofn.nFileOffset = 0;
ofn.nFileExtension = 0;
ofn.lpstrDefExt = NULL;