Binary files filezilla.orig/src/interface/.verifycertdialog.cpp.swp and filezilla/src/interface/.verifycertdialog.cpp.swp differ
diff -Nur filezilla.orig/src/interface/Options.cpp filezilla/src/interface/Options.cpp
old
|
new
|
|
842 | 842 | #ifdef FZ_WINDOWS |
843 | 843 | wchar_t buffer[MAX_PATH * 2 + 1]; |
844 | 844 | |
| 845 | DWORD c = GetModuleFileName(0, buffer, MAX_PATH * 2); |
| 846 | if (c && c < MAX_PATH * 2) { |
| 847 | std::wstring tmp; |
| 848 | ret.SetPath(buffer, &tmp); |
| 849 | ret.AddSegment(L"config"); |
| 850 | if (ret.Exists()) { |
| 851 | return ret; |
| 852 | } |
| 853 | } |
845 | 854 | if (SUCCEEDED(SHGetFolderPath(0, CSIDL_APPDATA, 0, SHGFP_TYPE_CURRENT, buffer))) { |
846 | 855 | CLocalPath tmp(buffer); |
847 | 856 | if (!tmp.empty()) { |