summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/dlg_propsheet.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-20 09:45:33 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-20 09:45:33 +0000
commitfedcd0462671c913f1b36e2111b3a5c8161f2b3e (patch)
tree7bf491af251cbba46c68b47518cd52c8df734702 /plugins/UserInfoEx/src/dlg_propsheet.cpp
parent01d02592c3b4b6dee10c62d64c9f5e5c4953a01c (diff)
fix for the endless recursion in uinfoex
git-svn-id: http://svn.miranda-ng.org/main/trunk@2387 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/dlg_propsheet.cpp')
-rw-r--r--plugins/UserInfoEx/src/dlg_propsheet.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/plugins/UserInfoEx/src/dlg_propsheet.cpp b/plugins/UserInfoEx/src/dlg_propsheet.cpp
index 71901c8e7f..a23222e798 100644
--- a/plugins/UserInfoEx/src/dlg_propsheet.cpp
+++ b/plugins/UserInfoEx/src/dlg_propsheet.cpp
@@ -1463,22 +1463,13 @@ static INT_PTR CALLBACK DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
break;
}
- if (
- !mir_stricmp(pdbcws->szSetting, SET_CONTACT_MYHANDLE) ||
- !mir_stricmp(pdbcws->szSetting, SET_CONTACT_NICK)
- )
- {
+ if ( !lstrcmpA(pdbcws->szSetting, SET_CONTACT_MYHANDLE) || !lstrcmpA(pdbcws->szSetting, SET_CONTACT_NICK)) {
// force the update of all propertysheetpages
DlgProc(hDlg, PSM_FORCECHANGED, NULL, NULL);
// update the windowtitle
DlgProc(hDlg, HM_SETWINDOWTITLE, NULL, lParam);
}
- else if (
- !mir_stricmp(pdbcws->szModule, USERINFO) ||
- !mir_stricmp(pdbcws->szModule, pPs->pszProto) ||
- !mir_stricmp(pdbcws->szModule, MOD_MBIRTHDAY)
- )
- {
+ else if ( !lstrcmpA(pdbcws->szModule, USERINFO) || !lstrcmpA(pdbcws->szModule, pPs->pszProto) || !lstrcmpA(pdbcws->szModule, MOD_MBIRTHDAY)) {
// force the update of all propertysheetpages
DlgProc(hDlg, PSM_FORCECHANGED, NULL, NULL);
}