summaryrefslogtreecommitdiff
path: root/plugins/AuthState/src/options.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-11-26 18:44:43 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-11-26 18:44:43 +0000
commit69e96bdff6b6367341b360ee788babd7976c0b5f (patch)
tree18945aece45090c9e91e5c3e264ce80f9e86abbb /plugins/AuthState/src/options.cpp
parenta5e0714edc8c7dc20d99957f7587b593e53ffba7 (diff)
AuthState: code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@11104 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AuthState/src/options.cpp')
-rw-r--r--plugins/AuthState/src/options.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/AuthState/src/options.cpp b/plugins/AuthState/src/options.cpp
index fafd1d115b..2e413066be 100644
--- a/plugins/AuthState/src/options.cpp
+++ b/plugins/AuthState/src/options.cpp
@@ -15,7 +15,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*/
+ */
#include "commonheaders.h"
@@ -37,12 +37,12 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
case WM_COMMAND:
switch (LOWORD(wParam)) {
- case IDC_AUTHICON:
- case IDC_GRANTICON:
- case IDC_ENABLEMENUITEM:
- case IDC_ICONSFORRECENT:
- SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
- break;
+ case IDC_AUTHICON:
+ case IDC_GRANTICON:
+ case IDC_ENABLEMENUITEM:
+ case IDC_ICONSFORRECENT:
+ SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
+ break;
}
break;
@@ -56,7 +56,7 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
bIconsForRecentContacts = IsDlgButtonChecked(hwndDlg, IDC_ICONSFORRECENT);
for (MCONTACT hContact = db_find_first(); hContact; hContact = db_find_next(hContact))
- onExtraImageApplying(hContact,0);
+ onExtraImageApplying((WPARAM)hContact, 0);
//Store options values to DB
db_set_b(NULL, MODULENAME, "EnableAuthIcon", bUseAuthIcon);
@@ -64,7 +64,7 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
db_set_b(NULL, MODULENAME, "MenuItem", bContactMenuItem);
db_set_b(NULL, MODULENAME, "EnableOnlyForRecent", bIconsForRecentContacts);
return TRUE;
- }
+ }
}
return FALSE;
}