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