Revision: 11019 https://osdn.net/projects/ttssh2/scm/svn/commits/11019 Author: zmatsuo Date: 2023-10-22 00:16:05 +0900 (Sun, 22 Oct 2023) Log Message: ----------- ログダイアログの不要な EnableWindow() を削除 Modified Paths: -------------- trunk/teraterm/teraterm/logdlg.cpp -------------- next part -------------- Modified: trunk/teraterm/teraterm/logdlg.cpp =================================================================== --- trunk/teraterm/teraterm/logdlg.cpp 2023-10-21 15:15:55 UTC (rev 11018) +++ trunk/teraterm/teraterm/logdlg.cpp 2023-10-21 15:16:05 UTC (rev 11019) @@ -51,7 +51,6 @@ #include "logdlg.h" -#define TitLog L"Log" #define ID_EVENT 0 typedef struct { @@ -297,7 +296,6 @@ pts->LogTimestampType == TIMESTAMP_ELAPSED_LOGSTART ? 2 : pts->LogTimestampType == TIMESTAMP_ELAPSED_CONNECTED ? 3 : 0; SendDlgItemMessageA(Dialog, IDC_TIMESTAMPTYPE, CB_SETCURSEL, tstype, 0); - EnableWindow(GetDlgItem(Dialog, IDC_TIMESTAMPTYPE), pts->LogTimestamp == 0 ? FALSE : TRUE); // plain text CheckDlgButton(Dialog, IDC_PLAINTEXT, pts->LogTypePlainText == 0 ? BST_UNCHECKED : BST_CHECKED); @@ -367,10 +365,10 @@ const wchar_t* simple_log_filter = L"*.txt;*.log"; wchar_t *FNFilter = GetCommonDialogFilterWW(simple_log_filter, UILanguageFile); - wchar_t *caption; wchar_t *uimsg; GetI18nStrWW("Tera Term", "FILEDLG_TRANS_TITLE_LOG", - TitLog, UILanguageFile, &uimsg); + L"Log", UILanguageFile, &uimsg); + wchar_t *caption; aswprintf(&caption, L"Tera Term: %s", uimsg); free(uimsg);