소스 검색

Styling %ProgramFiles% variable

Source commit: e72fd444d6f60351f32845721a0f76e41ff0a1ee
Martin Prikryl 8 년 전
부모
커밋
0ed7c8bf59
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;