Skip to content

Commit

Permalink
TERATERM.INI の SendfileDelayTick が正しく保存されるよう修正 #380
Browse files Browse the repository at this point in the history
- TERATERM.INI の SendfileDelayTick が正しく保存されるよう修正
  - 常に2が保存されていた
- send size コントロールの修正を元に戻した
- 元になる修正は 0c7b571 で行われ、
  #375#380 の内容が含まれている
  • Loading branch information
zmatsuo committed Dec 7, 2024
1 parent 9799f7d commit f5e5b81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions teraterm/teraterm/ttermpro.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion teraterm/ttpset/ttset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f5e5b81

Please sign in to comment.