From f5e5b8143fc72a4f3f48defccf723bce4cbaee81 Mon Sep 17 00:00:00 2001 From: zmatsuo <6488847+zmatsuo@users.noreply.github.com> Date: Sun, 8 Dec 2024 02:18:05 +0900 Subject: [PATCH] =?UTF-8?q?TERATERM.INI=20=E3=81=AE=20SendfileDelayTick=20?= =?UTF-8?q?=E3=81=8C=E6=AD=A3=E3=81=97=E3=81=8F=E4=BF=9D=E5=AD=98=E3=81=95?= =?UTF-8?q?=E3=82=8C=E3=82=8B=E3=82=88=E3=81=86=E4=BF=AE=E6=AD=A3=20#380?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - TERATERM.INI の SendfileDelayTick が正しく保存されるよう修正 - 常に2が保存されていた - send size コントロールの修正を元に戻した - 元になる修正は 0c7b5719cf246d1d47f8d16b708605a32d836678 で行われ、 #375 と #380 の内容が含まれている --- teraterm/teraterm/ttermpro.rc | 4 ++-- teraterm/ttpset/ttset.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/teraterm/teraterm/ttermpro.rc b/teraterm/teraterm/ttermpro.rc index e311cc848..32335d3c2 100644 --- a/teraterm/teraterm/ttermpro.rc +++ b/teraterm/teraterm/ttermpro.rc @@ -353,9 +353,9 @@ BEGIN "Button",BS_AUTOCHECKBOX | WS_TABSTOP,9,42,124,10 CONTROL "&Binary",IDC_SENDFILE_CHECK_BINARY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,9,59,72,10 LTEXT "delay type",IDC_SENDFILE_DELAYTYPE_LABEL,9,76,74,11 - COMBOBOX IDC_SENDFILE_DELAYTYPE_DROPDOWN,18,90,64,53,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP + COMBOBOX IDC_SENDFILE_DELAYTYPE_DROPDOWN,18,90,64,53,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP LTEXT "send size(bytes)",IDC_SENDFILE_SEND_SIZE_LABEL,9,107,75,8 - COMBOBOX IDC_SENDFILE_SEND_SIZE_DROPDOWN,18,121,65,47,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP + COMBOBOX IDC_SENDFILE_SEND_SIZE_DROPDOWN,18,121,65,47,CBS_DROPDOWN | CBS_SORT | WS_VSCROLL | WS_TABSTOP LTEXT "delay time(ms)",IDC_SENDFILE_DELAYTIME_LABEL,9,139,75,8 EDITTEXT IDC_SENDFILE_DELAYTIME_EDIT,18,154,40,14,ES_AUTOHSCROLL PUSHBUTTON "Help",IDHELP,104,179,50,14 diff --git a/teraterm/ttpset/ttset.c b/teraterm/ttpset/ttset.c index 48d2c3722..19c79a259 100644 --- a/teraterm/ttpset/ttset.c +++ b/teraterm/ttpset/ttset.c @@ -3279,7 +3279,7 @@ void PASCAL _WriteIniFile(const wchar_t *FName, PTTSet ts) ts->SendfileDelayType == 3 ? "PerSendSize" : "NoDelay", FName); - WriteInt(Section, "SendfileDelayTick", FName, 2); + WriteInt(Section, "SendfileDelayTick", FName, ts->SendfileDelayTick); WriteInt(Section, "SendfileSize", FName, ts->SendfileSize); WriteOnOff(Section, "SendfileMethod4", FName, ts->SendfileMethod4); WriteOnOff(Section, "SendfileSkipOptionDialog", FName, ts->SendfileSkipOptionDialog);