From 788943eef27e11bba4f503194c6b1cd12569b527 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 21 May 2019 21:47:17 +0300 Subject: fixes #1937 (Clist_Modern doesn't display custom connection icons after any change in Options - Icons) --- plugins/Clist_modern/src/modern_clui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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; -- cgit v1.2.3