OSDN Git Service

Update OpenSSL to 1.0.2f.
[ffftp/ffftp.git] / filelist.c
index e068e59..83b8ad2 100755 (executable)
@@ -922,7 +922,6 @@ static LRESULT FileListCommonWndProc(HWND hWnd, UINT message, WPARAM wParam, LPA
                                        hWndPnt = WindowFromPoint(Point);\r
                                        hWndParent = GetParent(hWndPnt);\r
                                        DisableUserOpe();\r
-                                       Dragging = NO;\r
                                        CancelFlg = NO;\r
 \r
                                        // 変数が未初期化のバグ修正\r
@@ -958,16 +957,17 @@ static LRESULT FileListCommonWndProc(HWND hWnd, UINT message, WPARAM wParam, LPA
                                                }\r
  \r
                                        } \r
-\r
-                                       // 特定の操作を行うと異常終了するバグ修正\r
-                                       EnableUserOpe();\r
-\r
\r
 #if defined(HAVE_TANDEM)\r
                                        if(FileListBaseNoExpand == NULL)\r
                                                pf = FileListBase;\r
                                        else\r
 #endif\r
                                        pf = FileListBaseNoExpand;\r
+                                       // 特定の操作を行うと異常終了するバグ修正\r
+                                       if(pf != NULL)\r
+                                               Dragging = NO;\r
+                                       EnableUserOpe();\r
                                        for (filenum = 0; pf ; filenum++) {\r
                                                pf = pf->Next;\r
                                        }\r