summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/psp_options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/psp_options.cpp')
-rw-r--r--plugins/UserInfoEx/src/psp_options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserInfoEx/src/psp_options.cpp b/plugins/UserInfoEx/src/psp_options.cpp
index 27df42185d..287b0bbdec 100644
--- a/plugins/UserInfoEx/src/psp_options.cpp
+++ b/plugins/UserInfoEx/src/psp_options.cpp
@@ -459,7 +459,7 @@ static INT_PTR CALLBACK DlgProc_AdvancedOpts(HWND hDlg, UINT uMsg, WPARAM wParam
if (!Settings.EnumSettings(NULL, "SkinIcons"))
for (int i = 0; i < Settings.getCount(); i++) {
LPSTR s = Settings[i];
- if (!mir_strnicmp(s, "UserInfoEx", 10))
+ if (mir_strnicmp(s, "UserInfoEx", 10) == 0)
db_unset(NULL, "SkinIcons", s);
}
@@ -1025,7 +1025,7 @@ static INT_PTR CALLBACK DlgProc_Popups(HWND hDlg, UINT uMsg, WPARAM wParam, LPAR
* @retval MIR_OK
**/
-static int OnInitOptions(WPARAM wParam, LPARAM lParam)
+static int OnInitOptions(WPARAM wParam, LPARAM)
{
DlgContactInfoInitTreeIcons();