Browse Source

Styling %ProgramFiles% variable

Source commit: e72fd444d6f60351f32845721a0f76e41ff0a1ee
Martin Prikryl 8 years ago
parent
commit
0ed7c8bf59
1 changed files with 1 additions and 1 deletions
  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;