• R/O
  • SSH
  • HTTPS

ttssh2: 提交


Commit MetaInfo

修订版11019 (tree)
时间2023-10-22 00:16:05
作者zmatsuo

Log Message

ログダイアログの不要な EnableWindow() を削除

更改概述

差异

--- trunk/teraterm/teraterm/logdlg.cpp (revision 11018)
+++ trunk/teraterm/teraterm/logdlg.cpp (revision 11019)
@@ -51,7 +51,6 @@
5151
5252 #include "logdlg.h"
5353
54-#define TitLog L"Log"
5554 #define ID_EVENT 0
5655
5756 typedef struct {
@@ -297,7 +296,6 @@
297296 pts->LogTimestampType == TIMESTAMP_ELAPSED_LOGSTART ? 2 :
298297 pts->LogTimestampType == TIMESTAMP_ELAPSED_CONNECTED ? 3 : 0;
299298 SendDlgItemMessageA(Dialog, IDC_TIMESTAMPTYPE, CB_SETCURSEL, tstype, 0);
300- EnableWindow(GetDlgItem(Dialog, IDC_TIMESTAMPTYPE), pts->LogTimestamp == 0 ? FALSE : TRUE);
301299
302300 // plain text
303301 CheckDlgButton(Dialog, IDC_PLAINTEXT, pts->LogTypePlainText == 0 ? BST_UNCHECKED : BST_CHECKED);
@@ -367,10 +365,10 @@
367365 const wchar_t* simple_log_filter = L"*.txt;*.log";
368366 wchar_t *FNFilter = GetCommonDialogFilterWW(simple_log_filter, UILanguageFile);
369367
370- wchar_t *caption;
371368 wchar_t *uimsg;
372369 GetI18nStrWW("Tera Term", "FILEDLG_TRANS_TITLE_LOG",
373- TitLog, UILanguageFile, &uimsg);
370+ L"Log", UILanguageFile, &uimsg);
371+ wchar_t *caption;
374372 aswprintf(&caption, L"Tera Term: %s", uimsg);
375373 free(uimsg);
376374
Show on old repository browser