Browse Source

Comment of PreserveFileName argument

Source commit: 2672a9bf752a110cad90da994606c2f0f4c9b254
Martin Prikryl 5 years ago
parent
commit
98767185be
1 changed files with 1 additions and 0 deletions
  1. 1 0
      source/windows/VCLCommon.cpp

+ 1 - 0
source/windows/VCLCommon.cpp

@@ -1301,6 +1301,7 @@ bool __fastcall SelectDirectory(UnicodeString & Path, const UnicodeString Prompt
   {
     UnicodeString Directory;
     UnicodeString FileName;
+    // We do not have any real use for the PreserveFileName
     if (!PreserveFileName || DirectoryExists(ApiPath(Path)))
     {
       Directory = Path;