mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Get rid of deprecated and platform symbols.
This commit is contained in:
@@ -198,12 +198,10 @@ end;
|
||||
procedure TfrmInsertFiles.addfile(filename: String);
|
||||
var
|
||||
li : TListItem;
|
||||
filesize, attrs: Integer;
|
||||
filesize: Integer;
|
||||
Info : TSHFileInfo;
|
||||
begin
|
||||
attrs := filegetattr(filename);
|
||||
if attrs and faDirectory <> 0 then
|
||||
exit;
|
||||
if DirectoryExists(filename) then Exit;
|
||||
li := ListViewFiles.Items.Add;
|
||||
li.Caption := filename;
|
||||
filesize := ceil(_getfilesize(filename) / 1024);
|
||||
|
||||
Reference in New Issue
Block a user