1
0
Эх сурвалжийг харах

Correct capitalization

Source commit: 63f4b3e66fbfa682f4a2ddef2a271f639eca2e36
Martin Prikryl 6 жил өмнө
parent
commit
c90793c3ab

+ 3 - 3
source/packages/filemng/DirView.pas

@@ -1105,7 +1105,7 @@ begin
   begin
     PIDLRecycleLocal := nil;
     try
-      OLECheck(shGetSpecialFolderLocation(Self.Handle,
+      OLECheck(SHGetSpecialFolderLocation(Self.Handle,
         CSIDL_BITBUCKET, PIDLRecycleLocal));
       PIDLRecycle := PIDL_Concatenate(nil, PIDLRecycleLocal);
 
@@ -1190,7 +1190,7 @@ var
 begin
   Result := nil;
   if not Assigned(FDesktopFolder) then
-    ShGetDesktopFolder(FDesktopFolder);
+    SHGetDesktopFolder(FDesktopFolder);
 
   if Assigned(FDesktopFolder) then
   begin
@@ -1354,7 +1354,7 @@ begin
         (Uppercase(Copy(FPath, 2, 10)) = ':\RECYCLER');
 
       if not Assigned(FDesktopFolder) then
-        shGetDesktopFolder(FDesktopFolder);
+        SHGetDesktopFolder(FDesktopFolder);
 
       if IsRecycleBin then LoadFromRecycleBin(Path)
         else

+ 2 - 2
source/packages/filemng/DriveView.pas

@@ -666,8 +666,8 @@ begin
   if Assigned(PopupMenu) then
     PopupMenu.Autopopup := False;
 
-  OLECheck(shGetDesktopFolder(FDesktop));
-  OLECheck(shGetSpecialFolderLocation(Self.Handle, CSIDL_DRIVES, PIDLWorkPlace));
+  OLECheck(SHGetDesktopFolder(FDesktop));
+  OLECheck(SHGetSpecialFolderLocation(Self.Handle, CSIDL_DRIVES, PIDLWorkPlace));
   FDesktop.BindToObject(PIDLWorkPlace, nil, IID_IShellFolder, Pointer(FWorkPlace));
   FreePIDL(PIDLWorkPlace);