summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/src')
-rw-r--r--plugins/Clist_modern/src/modern_clui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_clui.cpp b/plugins/Clist_modern/src/modern_clui.cpp
index cf57338e49..b4f1d998f6 100644
--- a/plugins/Clist_modern/src/modern_clui.cpp
+++ b/plugins/Clist_modern/src/modern_clui.cpp
@@ -894,7 +894,7 @@ static HICON CLUI_LoadIconFromExternalFile(wchar_t *filename, int i)
wchar_t szPath[MAX_PATH], szFullPath[MAX_PATH];
mir_snwprintf(szPath, L"Icons\\%s", filename);
PathToAbsoluteW(szPath, szFullPath);
- if (_waccess(szPath, 0))
+ if (_waccess(szFullPath, 0))
return nullptr;
HICON hIcon = nullptr;