Przeglądaj źródła

Styling %ProgramFiles% variable

Source commit: e72fd444d6f60351f32845721a0f76e41ff0a1ee
Martin Prikryl 8 lat temu
rodzic
commit
0ed7c8bf59
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      source/windows/GUIConfiguration.cpp

+ 1 - 1
source/windows/GUIConfiguration.cpp

@@ -563,7 +563,7 @@ void __fastcall TGUIConfiguration::Default()
   UnicodeString ProgramsFolder;
   SpecialFolderLocation(CSIDL_PROGRAM_FILES, ProgramsFolder);
   FDefaultPuttyPathOnly = IncludeTrailingBackslash(ProgramsFolder) + L"PuTTY\\" + OriginalPuttyExecutable;
-  FDefaultPuttyPath = L"%PROGRAMFILES%\\PuTTY\\" + OriginalPuttyExecutable;
+  FDefaultPuttyPath = L"%ProgramFiles%\\PuTTY\\" + OriginalPuttyExecutable;
   FPuttyPath = FormatCommand(FDefaultPuttyPath, L"");
   FPuttyPassword = false;
   FTelnetForFtpInPutty = true;