• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

FFFTPのソースコードです。


Commit MetaInfo

Revision1047258aa5921c6b4f501f4e7dc08bfbbdf628cc (tree)
Zeit2015-11-30 22:24:15
Autors_kawamoto <s_kawamoto@user...>
Commiters_kawamoto

Log Message

Fix bugs of drag-and-drop handling.

Ändern Zusammenfassung

Diff

Binary files a/FFFTP_Eng_Release/FFFTP.exe and b/FFFTP_Eng_Release/FFFTP.exe differ
Binary files a/FFFTP_Eng_Release_64/FFFTP.exe and b/FFFTP_Eng_Release_64/FFFTP.exe differ
Binary files a/Release/FFFTP.exe and b/Release/FFFTP.exe differ
Binary files a/Release_64/FFFTP.exe and b/Release_64/FFFTP.exe differ
--- a/common.h
+++ b/common.h
@@ -81,7 +81,7 @@
8181 // ソフトウェア自動更新
8282 // リリースバージョンはリリース予定年(10進数4桁)+月(2桁)+日(2桁)+通し番号(0スタート2桁)とする
8383 // 2014年7月31日中の30個目のリリースは2014073129
84-#define RELEASE_VERSION_NUM 2015112901 /* リリースバージョン */
84+#define RELEASE_VERSION_NUM 2015113000 /* リリースバージョン */
8585
8686
8787 // SourceForge.JPによるフォーク
--- a/filelist.c
+++ b/filelist.c
@@ -136,6 +136,8 @@ extern HWND hHelpWin;
136136 extern int SuppressRefresh;
137137 // ローカル側自動更新
138138 extern HANDLE ChangeNotification;
139+// 特定の操作を行うと異常終了するバグ修正
140+extern int CancelFlg;
139141
140142 /* 設定値 */
141143 extern int LocalWidth;
@@ -478,7 +480,8 @@ static BOOL CALLBACK doOleDlgProc(HWND hDlg, UINT msg, WPARAM wp, LPARAM lp)
478480 static void doTransferRemoteFile(void)
479481 {
480482 FILELIST *FileListBase, *FileListBaseNoExpand, *pf;
481- int CancelFlg = NO;
483+ // 特定の操作を行うと異常終了するバグ修正
484+// int CancelFlg = NO;
482485 char LocDir[FMAX_PATH+1];
483486 char TmpDir[FMAX_PATH+1];
484487 // 環境依存の不具合対策
@@ -909,13 +912,18 @@ static LRESULT FileListCommonWndProc(HWND hWnd, UINT message, WPARAM wParam, LPA
909912 int i, j, filenum = 0;
910913
911914 FILELIST *FileListBase, *FileListBaseNoExpand, *pf;
912- int CancelFlg = NO;
915+ // 特定の操作を行うと異常終了するバグ修正
916+// int CancelFlg = NO;
913917 char LocDir[FMAX_PATH+1];
914918 char *PathDir;
915919
916920 // 特定の操作を行うと異常終了するバグ修正
921+ GetCursorPos(&Point);
922+ hWndPnt = WindowFromPoint(Point);
923+ hWndParent = GetParent(hWndPnt);
917924 DisableUserOpe();
918925 Dragging = NO;
926+ CancelFlg = NO;
919927
920928 // 変数が未初期化のバグ修正
921929 FileListBaseNoExpand = NULL;
@@ -931,9 +939,10 @@ static LRESULT FileListCommonWndProc(HWND hWnd, UINT message, WPARAM wParam, LPA
931939 FileListBaseNoExpand = FileListBase;
932940
933941 } else if (hWndDragStart == hWndListRemote) {
934- GetCursorPos(&Point);
935- hWndPnt = WindowFromPoint(Point);
936- hWndParent = GetParent(hWndPnt);
942+ // 特定の操作を行うと異常終了するバグ修正
943+// GetCursorPos(&Point);
944+// hWndPnt = WindowFromPoint(Point);
945+// hWndParent = GetParent(hWndPnt);
937946 if (hWndPnt == hWndListRemote || hWndPnt == hWndListLocal ||
938947 hWndParent == hWndListRemote || hWndParent == hWndListLocal) {
939948 FileListBase = NULL;
--- a/ftpproc.c
+++ b/ftpproc.c
@@ -3824,7 +3824,7 @@ void AbortRecoveryProc(void)
38243824 if(AskErrorReconnect() == YES)
38253825 {
38263826 DisableUserOpe();
3827- ReConnectCmdSkt();
3827+ ReConnectCmdSkt();
38283828 GetRemoteDirForWnd(CACHE_REFRESH, &CancelFlg);
38293829 EnableUserOpe();
38303830 }