• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

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

FFFTPのソースコードです。


Commit MetaInfo

Revision1dfaea5262e8338a6fa6836e3a16c3c03590d88d (tree)
Time2014-07-02 23:47:02
Authors_kawamoto <s_kawamoto@user...>
Commiters_kawamoto

Log Message

Fix bugs of automatic software update.

Change Summary

Incremental Difference

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/main.c
+++ b/main.c
@@ -775,7 +775,7 @@ static int InitApp(LPSTR lpszCmdLine, int cmdShow)
775775 DispTransferFiles();
776776
777777 // ソフトウェア自動更新
778- if(AutoCheckForUptatesInterval == 0)
778+ if(AutoCheckForUpdates == YES && AutoCheckForUptatesInterval == 0)
779779 UpdateSoftware(YES, YES, AutoApplyUpdates);
780780
781781 StartupProc(lpszCmdLine);
@@ -1152,7 +1152,7 @@ static LRESULT CALLBACK FtpWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARA
11521152 case 3:
11531153 if(AskUserOpeDisabled() == NO && AskTransferNow() == NO)
11541154 {
1155- if(AutoCheckForUptatesInterval > 0 && time(NULL) - LastAutoCheckForUpdates >= AutoCheckForUptatesInterval * 86400)
1155+ if(AutoCheckForUpdates == YES && AutoCheckForUptatesInterval > 0 && time(NULL) - LastAutoCheckForUpdates >= AutoCheckForUptatesInterval * 86400)
11561156 UpdateSoftware(YES, YES, AutoApplyUpdates);
11571157 }
11581158 break;