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 9341 by zmatsuo, Tue Jun 29 15:20:20 2021 UTC revision 9342 by zmatsuo, Sun Aug 1 15:32:15 2021 UTC
# Line 1497  void CLogPropPageDlg::OnOK() Line 1497  void CLogPropPageDlg::OnOK()
1497                  static const TTMessageBoxInfoW info = {                  static const TTMessageBoxInfoW info = {
1498                          "Tera Term",                          "Tera Term",
1499                          "MSG_ERROR", L"ERROR",                          "MSG_ERROR", L"ERROR",
1500                          "MSG_LOGFILE_INVALID_CHAR_ERROR", L"Invalid character is included in log file name." };                          "MSG_LOGFILE_INVALID_CHAR_ERROR", L"Invalid character is included in log file name.",
1501                  TTMessageBoxW(m_hWnd, &info, MB_ICONEXCLAMATION, ts.UILanguageFile);                          MB_ICONEXCLAMATION };
1502                    TTMessageBoxA(m_hWnd, &info, ts.UILanguageFile);
1503                  return;                  return;
1504          }          }
1505    
# Line 1510  void CLogPropPageDlg::OnOK() Line 1511  void CLogPropPageDlg::OnOK()
1511                  static const TTMessageBoxInfoW info = {                  static const TTMessageBoxInfoW info = {
1512                          "Tera Term",                          "Tera Term",
1513                          "MSG_ERROR", L"ERROR",                          "MSG_ERROR", L"ERROR",
1514                          "MSG_LOGFILE_TOOLONG_ERROR", L"The log file name is too long." };                          "MSG_LOGFILE_TOOLONG_ERROR", L"The log file name is too long.",
1515                  TTMessageBoxW(m_hWnd, &info, MB_ICONEXCLAMATION, ts.UILanguageFile);                          MB_ICONEXCLAMATION };
1516                    TTMessageBoxA(m_hWnd, &info, ts.UILanguageFile);
1517                  return;                  return;
1518          }          }
1519          if (isInvalidFileNameChar(buf2)) {          if (isInvalidFileNameChar(buf2)) {
1520                  static const TTMessageBoxInfoW info = {                  static const TTMessageBoxInfoW info = {
1521                          "Tera Term",                          "Tera Term",
1522                          "MSG_ERROR", L"ERROR",                          "MSG_ERROR", L"ERROR",
1523                          "MSG_LOGFILE_INVALID_CHAR_ERROR", L"Invalid character is included in log file name." };                          "MSG_LOGFILE_INVALID_CHAR_ERROR", L"Invalid character is included in log file name.",
1524                  TTMessageBoxW(m_hWnd, &info, MB_ICONEXCLAMATION, ts.UILanguageFile);                          MB_ICONEXCLAMATION };
1525                    TTMessageBoxA(m_hWnd, &info, ts.UILanguageFile);
1526                  return;                  return;
1527          }          }
1528          strncpy_s(ts.LogDefaultName, sizeof(ts.LogDefaultName), buf, _TRUNCATE);          strncpy_s(ts.LogDefaultName, sizeof(ts.LogDefaultName), buf, _TRUNCATE);

Legend:
Removed from v.9341  
changed lines
  Added in v.9342

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