summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/psp_options.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-08-08 06:57:14 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-08-08 06:57:14 +0000
commit4a0631399b72ff7a62ffc2da69150551e990e0d9 (patch)
tree636747c4083923dc96ebb8f0d06019746493b0da /plugins/UserInfoEx/src/psp_options.cpp
parent88a14e8dc56bb77b09e52c8aebe5cd6f47039366 (diff)
UserInfoEx:
- Warnings fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@14857 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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();