summaryrefslogtreecommitdiff
path: root/src/modules/srfile/fileexistsdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/srfile/fileexistsdlg.cpp')
-rw-r--r--src/modules/srfile/fileexistsdlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/srfile/fileexistsdlg.cpp b/src/modules/srfile/fileexistsdlg.cpp
index d98ce59f78..1975226b90 100644
--- a/src/modules/srfile/fileexistsdlg.cpp
+++ b/src/modules/srfile/fileexistsdlg.cpp
@@ -189,7 +189,7 @@ void __cdecl LoadIconsAndTypesThread(void* param)
else {
iconIndex = _ttoi(pszComma+1); *pszComma='\0';
}
- hIcon = ExtractIcon(hMirandaInst, szIconFile, iconIndex);
+ hIcon = ExtractIcon(hInst, szIconFile, iconIndex);
if (hIcon)
fileInfo.hIcon = hIcon;
}