diff options
author | George Hazan <ghazan@miranda.im> | 2019-05-21 21:47:17 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-05-21 21:47:17 +0300 |
commit | 788943eef27e11bba4f503194c6b1cd12569b527 (patch) | |
tree | 7baa342a3b7af9905e68fc79407f9ffa57fd26bc /plugins/Clist_modern | |
parent | b0e1a44a57f9d1fdef6e05776dcae5791ee868d7 (diff) |
fixes #1937 (Clist_Modern doesn't display custom connection icons after any change in Options - Icons)
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r-- | plugins/Clist_modern/src/modern_clui.cpp | 2 |
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;
|