mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Use current dir instead "c:\" because it may not exists
This commit is contained in:
parent
83511f53a3
commit
222cdbee6c
1 changed files with 2 additions and 2 deletions
|
|
@ -540,7 +540,7 @@ end;
|
|||
constructor TPixMapManager.Create;
|
||||
{$IFDEF MSWINDOWS}
|
||||
var
|
||||
FileInfo : TSHFileInfo;
|
||||
FileInfo : TSHFileInfoW;
|
||||
iIconSize : Integer;
|
||||
{$ENDIF}
|
||||
begin
|
||||
|
|
@ -558,7 +558,7 @@ begin
|
|||
else
|
||||
iIconSize := SHGFI_LARGEICON;
|
||||
|
||||
FSysImgList := SHGetFileInfo('C:\',
|
||||
FSysImgList := SHGetFileInfoW(PWideChar(UTF8Decode(mbGetCurrentDir)),
|
||||
0,
|
||||
FileInfo,
|
||||
SizeOf(FileInfo),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue