FFFTPのソースコードです。
Révision | b3c1865f5ad8eca89c517d7601716a5223a12dc4 (tree) |
---|---|
l'heure | 2015-11-30 22:56:52 |
Auteur | s_kawamoto <s_kawamoto@user...> |
Commiter | s_kawamoto |
Fix bugs of dead locking.
@@ -81,7 +81,7 @@ | ||
81 | 81 | // ソフトウェア自動更新 |
82 | 82 | // リリースバージョンはリリース予定年(10進数4桁)+月(2桁)+日(2桁)+通し番号(0スタート2桁)とする |
83 | 83 | // 2014年7月31日中の30個目のリリースは2014073129 |
84 | -#define RELEASE_VERSION_NUM 2015113000 /* リリースバージョン */ | |
84 | +#define RELEASE_VERSION_NUM 2015113001 /* リリースバージョン */ | |
85 | 85 | |
86 | 86 | |
87 | 87 | // SourceForge.JPによるフォーク |
@@ -922,7 +922,6 @@ static LRESULT FileListCommonWndProc(HWND hWnd, UINT message, WPARAM wParam, LPA | ||
922 | 922 | hWndPnt = WindowFromPoint(Point); |
923 | 923 | hWndParent = GetParent(hWndPnt); |
924 | 924 | DisableUserOpe(); |
925 | - Dragging = NO; | |
926 | 925 | CancelFlg = NO; |
927 | 926 | |
928 | 927 | // 変数が未初期化のバグ修正 |
@@ -958,16 +957,17 @@ static LRESULT FileListCommonWndProc(HWND hWnd, UINT message, WPARAM wParam, LPA | ||
958 | 957 | } |
959 | 958 | |
960 | 959 | } |
961 | - | |
962 | - // 特定の操作を行うと異常終了するバグ修正 | |
963 | - EnableUserOpe(); | |
964 | - | |
960 | + | |
965 | 961 | #if defined(HAVE_TANDEM) |
966 | 962 | if(FileListBaseNoExpand == NULL) |
967 | 963 | pf = FileListBase; |
968 | 964 | else |
969 | 965 | #endif |
970 | 966 | pf = FileListBaseNoExpand; |
967 | + // 特定の操作を行うと異常終了するバグ修正 | |
968 | + if(pf != NULL) | |
969 | + Dragging = NO; | |
970 | + EnableUserOpe(); | |
971 | 971 | for (filenum = 0; pf ; filenum++) { |
972 | 972 | pf = pf->Next; |
973 | 973 | } |