Skip to content

Commit

Permalink
xmodemsend, xmodemrecv - it doens't work #123
Browse files Browse the repository at this point in the history
- xmodemsend と xmodemrecv の処理が入れ替わっていたので修正
  • Loading branch information
zmatsuo committed Feb 20, 2024
1 parent 60923fd commit a90d1d2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/en/html/about/history.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ <h3 id="teraterm_5.2">YYYY.MM.DD (Ver 5.2)</h3>
<li>Fixed background transparency is not working in some case.</li>
<li>MACRO: fixed <a href="../macro/command/foldersearch.html">foldersearch</a> macro command set 0 to result system variable when folder does not exist.</li>
<li>Fixed the words under mouse pointer were not selected when selecting words by drag after double click with left mouse button.</li>
<li>MACRO: fixed internal processing of <a href="../macro/command/xmodemsend.html">xmodemsend</a> and <a href="../macro/command/xmodemrecv.html">xmodemrecv</a> macro commands were swapped.</li>
</ul>
</li>

Expand Down
1 change: 1 addition & 0 deletions doc/ja/html/about/history.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ <h3 id="teraterm_5.2">YYYY.MM.DD (Ver 5.2)</h3>
<li>背景透過が正しく行えない場合があったので修正した。</li>
<li>MACRO: <a href="../macro/command/foldersearch.html">foldersearch</a>マクロコマンドで、フォルダが存在しないとき result システム変数に0が返るよう修正した。</li>
<li>マウス左ボタンダブルクリック+ドラッグでの単語単位での選択時に、マウスポインタの下の単語が選択されないことがある問題を修正した。</li>
<li>MACRO: <a href="../macro/command/xmodemsend.html">xmodemsend</a><a href="../macro/command/xmodemrecv.html">xmodemrecv</a> マクロコマンドの内部処理が入れ替わっていたので修正した。</li>
</ul>
</li>

Expand Down
4 changes: 2 additions & 2 deletions teraterm/teraterm/ttdde.c
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ static HDDEDATA AcceptExecute(HSZ TopicHSz, HDDEDATA Data)
break;
case CmdXmodemRecv: {
wchar_t *ParamFileNameW = ToWcharU8(ParamFileName);
r = XMODEMStartSend(ParamFileNameW, ParamXmodemOpt);
r = XMODEMStartReceive(ParamFileNameW, ParamBinaryFlag, ParamXmodemOpt);
free(ParamFileNameW);
if (r) {
DdeCmnd = TRUE;
Expand All @@ -738,7 +738,7 @@ static HDDEDATA AcceptExecute(HSZ TopicHSz, HDDEDATA Data)
}
case CmdXmodemSend: {
wchar_t *ParamFileNameW = ToWcharU8(ParamFileName);
r = XMODEMStartReceive(ParamFileNameW, ParamBinaryFlag, ParamXmodemOpt);
r = XMODEMStartSend(ParamFileNameW, ParamXmodemOpt);
free(ParamFileNameW);
if (r) {
DdeCmnd = TRUE;
Expand Down

0 comments on commit a90d1d2

Please sign in to comment.