Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/teraterm/teraterm/filesys_log.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8942 by zmatsuo, Fri Aug 21 15:23:52 2020 UTC revision 8943 by zmatsuo, Fri Oct 2 15:45:27 2020 UTC
# Line 585  static INT_PTR CALLBACK LogFnHook(HWND D Line 585  static INT_PTR CALLBACK LogFnHook(HWND D
585                          wchar_t fname[MAX_PATH];                          wchar_t fname[MAX_PATH];
586                          GetDlgItemTextW(Dialog, IDC_FOPT_FILENAME_EDIT, fname, _countof(fname));                          GetDlgItemTextW(Dialog, IDC_FOPT_FILENAME_EDIT, fname, _countof(fname));
587    
588                          wchar_t FNFilter[128*3];                          wchar_t *FNFilter = GetCommonDialogFilterW(NULL, UILanguageFile);
                         get_lang_msgW("FILEDLG_ALL_FILTER", FNFilter, sizeof(FNFilter), L"All(*.*)\\0*.*\\0\\0", UILanguageFile);  
589    
590                          wchar_t caption[MAX_PATH];                          wchar_t caption[MAX_PATH];
591                          wchar_t uimsg[MAX_UIMSG];                          wchar_t uimsg[MAX_UIMSG];
# Line 608  static INT_PTR CALLBACK LogFnHook(HWND D Line 607  static INT_PTR CALLBACK LogFnHook(HWND D
607                          ofn.nMaxFile = _countof(fname);                          ofn.nMaxFile = _countof(fname);
608                          ofn.lpstrTitle = caption;                          ofn.lpstrTitle = caption;
609                          BOOL Ok = GetSaveFileNameW(&ofn);                          BOOL Ok = GetSaveFileNameW(&ofn);
610                            free(FNFilter);
611                          if (Ok) {                          if (Ok) {
612                                  SetDlgItemTextW(Dialog, IDC_FOPT_FILENAME_EDIT, fname);                                  SetDlgItemTextW(Dialog, IDC_FOPT_FILENAME_EDIT, fname);
613                          }                          }

Legend:
Removed from v.8942  
changed lines
  Added in v.8943

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26