• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

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

Loweynet


Commit MetaInfo

Revisão5e5cf084f3b774846e8bc10c6c9b9160cd1fc4c1 (tree)
Hora2012-02-08 22:33:53
Autors_kawamoto <s_kawamoto@user...>
Commiters_kawamoto

Mensagem de Log

Change behavior of return key if a directory in the file list is chosen.

Mudança Sumário

Diff

Binary files a/FFFTP_Eng_Release/FFFTP.exe and b/FFFTP_Eng_Release/FFFTP.exe differ
Binary files a/Release/FFFTP.exe and b/Release/FFFTP.exe differ
--- a/Resource/resource.h
+++ b/Resource/resource.h
@@ -619,6 +619,7 @@
619619 #define ID_BUTTON40174 40174
620620 #define ID_BUTTON40175 40175
621621 #define MENU_SWITCH_OSS 40176
622+#define MENU_OPEN 40177
622623 #define FSNOTIFY_TITLE 65535
623624 #define HOST_SIZEGRIP 65535
624625
--- a/Resource_eng/resource.h
+++ b/Resource_eng/resource.h
@@ -619,6 +619,7 @@
619619 #define ID_BUTTON40174 40174
620620 #define ID_BUTTON40175 40175
621621 #define MENU_SWITCH_OSS 40176
622+#define MENU_OPEN 40177
622623 #define FSNOTIFY_TITLE 65535
623624 #define HOST_SIZEGRIP 65535
624625
--- a/main.c
+++ b/main.c
@@ -979,6 +979,22 @@ static LRESULT CALLBACK FtpWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARA
979979
980980 case MENU_DCLICK :
981981 if(hWndCurFocus == GetLocalHwnd())
982+ // ローカルフォルダを開く
983+// DoubleClickProc(WIN_LOCAL, YES, -1);
984+ DoubleClickProc(WIN_LOCAL, NO, -1);
985+ else
986+ {
987+ SuppressRefresh = 1;
988+ // ローカルフォルダを開く
989+// DoubleClickProc(WIN_REMOTE, YES, -1);
990+ DoubleClickProc(WIN_REMOTE, NO, -1);
991+ SuppressRefresh = 0;
992+ }
993+ break;
994+
995+ // ローカルフォルダを開く
996+ case MENU_OPEN :
997+ if(hWndCurFocus == GetLocalHwnd())
982998 DoubleClickProc(WIN_LOCAL, YES, -1);
983999 else
9841000 {
--- a/toolmenu.c
+++ b/toolmenu.c
@@ -1896,7 +1896,9 @@ static void AddOpenMenu(HMENU hMenu, UINT Flg)
18961896 char Tmp[FMAX_PATH+1];
18971897 int i;
18981898
1899- AppendMenu(hMenu, MF_STRING | Flg, MENU_DCLICK, MSGJPN274);
1899+ // ローカルフォルダを開く
1900+// AppendMenu(hMenu, MF_STRING | Flg, MENU_DCLICK, MSGJPN274);
1901+ AppendMenu(hMenu, MF_STRING | Flg, MENU_OPEN, MSGJPN274);
19001902 for(i = 0; i < VIEWERS; i++)
19011903 {
19021904 if(strlen(ViewerName[i]) != 0)