Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/teraterm/teraterm/addsetting.cpp

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

revision 9962 by zmatsuo, Tue May 24 14:21:47 2022 UTC revision 9994 by zmatsuo, Fri Jun 10 15:20:03 2022 UTC
# Line 1500  void CLogPropPageDlg::OnOK() Line 1500  void CLogPropPageDlg::OnOK()
1500  {  {
1501          char buf[80], buf2[80];          char buf[80], buf2[80];
1502          time_t time_local;          time_t time_local;
1503          struct tm *tm_local;          struct tm tm_local;
1504    
1505          // Viewlog Editor path (2005.1.29 yutaka)          // Viewlog Editor path (2005.1.29 yutaka)
1506          GetDlgItemTextA(IDC_VIEWLOG_EDITOR, ts.ViewlogEditor, _countof(ts.ViewlogEditor));          GetDlgItemTextA(IDC_VIEWLOG_EDITOR, ts.ViewlogEditor, _countof(ts.ViewlogEditor));
# Line 1519  void CLogPropPageDlg::OnOK() Line 1519  void CLogPropPageDlg::OnOK()
1519    
1520          // 現在時刻を取得          // 現在時刻を取得
1521          time(&time_local);          time(&time_local);
1522          tm_local = localtime(&time_local);          localtime_s(&tm_local, & time_local);
1523          // 時刻文字列に変換          // 時刻文字列に変換
1524          if (strlen(buf) != 0 && strftime(buf2, sizeof(buf2), buf, tm_local) == 0) {          if (strlen(buf) != 0 && strftime(buf2, sizeof(buf2), buf, &tm_local) == 0) {
1525                  static const TTMessageBoxInfoW info = {                  static const TTMessageBoxInfoW info = {
1526                          "Tera Term",                          "Tera Term",
1527                          "MSG_ERROR", L"ERROR",                          "MSG_ERROR", L"ERROR",

Legend:
Removed from v.9962  
changed lines
  Added in v.9994

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