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

Bug 2161: Consistency with loading icons synchronously and on the background (2nd)

https://winscp.net/tracker/2161

Source commit: 729ab5694089154a9f3f79c1f51a909011214f75
Martin Prikryl 2 жил өмнө
parent
commit
eba1097c4b

+ 1 - 0
source/packages/filemng/DirView.pas

@@ -675,6 +675,7 @@ var
   IsSpecialExt: Boolean;
   TypeName: string;
 begin
+  CoInitialize(nil); // needed for SHGetFileInfo
   if Assigned(FOwner.TopItem) then FIndex := FOwner.TopItem.Index
     else FIndex := 0;