ログダイアログの不要な EnableWindow() を削除
@@ -51,7 +51,6 @@ | ||
51 | 51 | |
52 | 52 | #include "logdlg.h" |
53 | 53 | |
54 | -#define TitLog L"Log" | |
55 | 54 | #define ID_EVENT 0 |
56 | 55 | |
57 | 56 | typedef struct { |
@@ -297,7 +296,6 @@ | ||
297 | 296 | pts->LogTimestampType == TIMESTAMP_ELAPSED_LOGSTART ? 2 : |
298 | 297 | pts->LogTimestampType == TIMESTAMP_ELAPSED_CONNECTED ? 3 : 0; |
299 | 298 | SendDlgItemMessageA(Dialog, IDC_TIMESTAMPTYPE, CB_SETCURSEL, tstype, 0); |
300 | - EnableWindow(GetDlgItem(Dialog, IDC_TIMESTAMPTYPE), pts->LogTimestamp == 0 ? FALSE : TRUE); | |
301 | 299 | |
302 | 300 | // plain text |
303 | 301 | CheckDlgButton(Dialog, IDC_PLAINTEXT, pts->LogTypePlainText == 0 ? BST_UNCHECKED : BST_CHECKED); |
@@ -367,10 +365,10 @@ | ||
367 | 365 | const wchar_t* simple_log_filter = L"*.txt;*.log"; |
368 | 366 | wchar_t *FNFilter = GetCommonDialogFilterWW(simple_log_filter, UILanguageFile); |
369 | 367 | |
370 | - wchar_t *caption; | |
371 | 368 | wchar_t *uimsg; |
372 | 369 | GetI18nStrWW("Tera Term", "FILEDLG_TRANS_TITLE_LOG", |
373 | - TitLog, UILanguageFile, &uimsg); | |
370 | + L"Log", UILanguageFile, &uimsg); | |
371 | + wchar_t *caption; | |
374 | 372 | aswprintf(&caption, L"Tera Term: %s", uimsg); |
375 | 373 | free(uimsg); |
376 | 374 |