summaryrefslogtreecommitdiff
path: root/plugins/Clist_blind/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_blind/src')
-rw-r--r--plugins/Clist_blind/src/clcopts.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_blind/src/clcopts.cpp b/plugins/Clist_blind/src/clcopts.cpp
index d40b428626..0bbcb9ce13 100644
--- a/plugins/Clist_blind/src/clcopts.cpp
+++ b/plugins/Clist_blind/src/clcopts.cpp
@@ -33,7 +33,7 @@ wchar_t* MyDBGetContactSettingTString(MCONTACT hContact, char *module, char *set
struct
{
int id;
- DWORD flag;
+ uint32_t flag;
}
static checkBoxToStyleEx[] =
{
@@ -54,7 +54,7 @@ public:
bool OnInitDialog() override
{
- DWORD exStyle = db_get_dw(0, "CLC", "ExStyle", Clist_GetDefaultExStyle());
+ uint32_t exStyle = db_get_dw(0, "CLC", "ExStyle", Clist_GetDefaultExStyle());
for (auto &it : checkBoxToStyleEx)
CheckDlgButton(m_hwnd, it.id, (exStyle & it.flag) ? BST_CHECKED : BST_UNCHECKED);
@@ -83,7 +83,7 @@ public:
bool OnApply() override
{
- DWORD exStyle = 0;
+ uint32_t exStyle = 0;
for (int i = 0; i < _countof(checkBoxToStyleEx); i++)
if (IsDlgButtonChecked(m_hwnd, checkBoxToStyleEx[i].id))
exStyle |= checkBoxToStyleEx[i].flag;