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 9103 by zmatsuo, Sun Dec 20 12:16:14 2020 UTC revision 9104 by zmatsuo, Sun Dec 20 12:16:27 2020 UTC
# Line 40  Line 40 
40    
41  #include "teraterm.h"  #include "teraterm.h"
42  #include "tttypes.h"  #include "tttypes.h"
 #include "ttftypes.h"  
43  #include "ftdlg.h"  #include "ftdlg.h"
44  #include "ttwinman.h"  #include "ttwinman.h"
45  #include "commlib.h"  #include "commlib.h"
# Line 60  Line 59 
59  #include "filesys_log.h"  #include "filesys_log.h"
60  #include "filesys.h"  // for ProtoGetProtoFlag()  #include "filesys.h"  // for ProtoGetProtoFlag()
61    
62    #define TitLog      L"Log"
63    
64  /*  /*
65     Line Head flag for timestamping     Line Head flag for timestamping
66     2007.05.24 Gentaro     2007.05.24 Gentaro
# Line 135  static BOOL OpenFTDlg_(PFileVar fv) Line 136  static BOOL OpenFTDlg_(PFileVar fv)
136    
137          wchar_t *DlgCaption;          wchar_t *DlgCaption;
138          wchar_t uimsg[MAX_UIMSG];          wchar_t uimsg[MAX_UIMSG];
139  #define TitLogW      L"Log"          get_lang_msgW("FILEDLG_TRANS_TITLE_LOG", uimsg, _countof(uimsg), TitLog, ts.UILanguageFile);
         get_lang_msgW("FILEDLG_TRANS_TITLE_LOG", uimsg, _countof(uimsg), TitLogW, ts.UILanguageFile);  
140          aswprintf(&DlgCaption, L"Tera Term: %s", uimsg);          aswprintf(&DlgCaption, L"Tera Term: %s", uimsg);
141    
142          CFileTransDlg::Info info;          CFileTransDlg::Info info;
# Line 590  static INT_PTR CALLBACK LogFnHook(HWND D Line 590  static INT_PTR CALLBACK LogFnHook(HWND D
590    
591                          wchar_t caption[MAX_PATH];                          wchar_t caption[MAX_PATH];
592                          wchar_t uimsg[MAX_UIMSG];                          wchar_t uimsg[MAX_UIMSG];
593  #define TitLogW      L"Log"                          get_lang_msgW("FILEDLG_TRANS_TITLE_LOG", uimsg, _countof(uimsg), TitLog, UILanguageFile);
                         get_lang_msgW("FILEDLG_TRANS_TITLE_LOG", uimsg, _countof(uimsg), TitLogW, UILanguageFile);  
594                          wcsncpy_s(caption, _countof(caption), L"Tera Term: ", _TRUNCATE);                          wcsncpy_s(caption, _countof(caption), L"Tera Term: ", _TRUNCATE);
595                          wcsncat_s(caption, _countof(caption), uimsg, _TRUNCATE);                          wcsncat_s(caption, _countof(caption), uimsg, _TRUNCATE);
596    

Legend:
Removed from v.9103  
changed lines
  Added in v.9104

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