summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod/src/Options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-11-23 22:06:26 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-11-23 22:06:26 +0300
commit6d6cb956a78b2dbfa7e8d62f4234d8f27b100468 (patch)
treee41f29a86d93ffc0ca414e8d84c8cdd47847baeb /plugins/NewAwaySysMod/src/Options.cpp
parent6bb0abf1e62b18e4029ae0b7b73ee47f3fe3b39d (diff)
database enumerators => void* instead of LPARAM
Diffstat (limited to 'plugins/NewAwaySysMod/src/Options.cpp')
-rw-r--r--plugins/NewAwaySysMod/src/Options.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/NewAwaySysMod/src/Options.cpp b/plugins/NewAwaySysMod/src/Options.cpp
index 0afce411de..9b4ead3136 100644
--- a/plugins/NewAwaySysMod/src/Options.cpp
+++ b/plugins/NewAwaySysMod/src/Options.cpp
@@ -265,7 +265,7 @@ struct sTreeReadEnumData
const CString &sModule, &sDBSettingPrefix;
};
-int TreeReadEnum(const char *szSetting, LPARAM lParam)
+int TreeReadEnum(const char *szSetting, void *lParam)
{
sTreeReadEnumData *pData = (sTreeReadEnumData*)lParam;
int Len = pData->TreeCtrl->sDBSetting.GetLen() + _countof(TREEITEM_DBSTR_TITLE) - 1;
@@ -441,7 +441,7 @@ typedef struct
CString *sDBSettingPrefix;
} sTreeDeleteEnumData;
-int TreeDeleteEnum(const char *szSetting, LPARAM lParam)
+int TreeDeleteEnum(const char *szSetting, void *lParam)
{
sTreeDeleteEnumData *TreeDeleteEnumData = (sTreeDeleteEnumData*)lParam;
CString CurSetting = *TreeDeleteEnumData->sDBSettingPrefix + TreeDeleteEnumData->TreeCtrl->sDBSetting + TREEITEM_DBSTR_TITLE;
@@ -644,7 +644,7 @@ struct sListReadEnumData
const CString &sModule, &sDBSettingPrefix;
};
-int ListReadEnum(const char *szSetting, LPARAM lParam)
+int ListReadEnum(const char *szSetting, void *lParam)
{
sListReadEnumData *pData = (sListReadEnumData*)lParam;
int Len = pData->sDBSettingPrefix.GetLen() + pData->ListCtrl->sDBSetting.GetLen() + _countof(LISTITEM_DBSTR_TEXT) - 1;
@@ -721,7 +721,7 @@ typedef struct
CString *sDBSettingPrefix;
} sListDeleteEnumData;
-int ListDeleteEnum(const char *szSetting, LPARAM lParam)
+int ListDeleteEnum(const char *szSetting, void *lParam)
{
sListDeleteEnumData *ListDeleteEnumData = (sListDeleteEnumData*)lParam;
CString CurSetting = *ListDeleteEnumData->sDBSettingPrefix + ListDeleteEnumData->ListCtrl->sDBSetting + LISTITEM_DBSTR_TEXT;