Changeset 531 for trunk/Packages/Common


Ignore:
Timestamp:
Mar 27, 2024, 12:31:14 PM (8 months ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/Common/Common.pas

    r456 r531  
    184184(*function DelTree(DirName : string): Boolean;
    185185var
    186   SHFileOpStruct : TSHFileOpStruct;
    187   DirBuf : array [0..255] of char;
     186  SHFileOpStruct: TSHFileOpStruct;
     187  DirBuf: array [0..255] of char;
    188188begin
    189189  DirName := UTF8Decode(DirName);
    190190  try
    191     Fillchar(SHFileOpStruct,Sizeof(SHFileOpStruct),0) ;
    192     FillChar(DirBuf, Sizeof(DirBuf), 0 ) ;
    193     StrPCopy(DirBuf, DirName) ;
     191    FillChar(SHFileOpStruct, Sizeof(SHFileOpStruct), 0);
     192    FillChar(DirBuf, Sizeof(DirBuf), 0 );
     193    StrPCopy(DirBuf, DirName);
    194194    with SHFileOpStruct do begin
    195195      Wnd := 0;
     
    200200      fFlags := fFlags or FOF_SILENT;
    201201    end;
    202     Result := (SHFileOperation(SHFileOpStruct) = 0) ;
     202    Result := (SHFileOperation(SHFileOpStruct) = 0);
    203203  except
    204      Result := False;
     204    Result := False;
    205205  end;
    206206end;*)
Note: See TracChangeset for help on using the changeset viewer.