Browse Subversion Repository
Diff of /trunk/teraterm/teraterm/addsetting.cpp
Parent Directory
| Revision Log
| Patch
| 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 |
|
|
| 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 |
|
|
| |