summaryrefslogtreecommitdiff
path: root/plugins/DbEditorPP/src/moduletree.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-08-15 15:20:24 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-08-15 15:20:24 +0000
commitbfa87af56480a56464b448541b321e5fe1a86303 (patch)
treea784025306be3b7eb98b64c1c245a27c27236817 /plugins/DbEditorPP/src/moduletree.cpp
parent9c4370db4f2e5f5ee77e03a8c5c4c1e226274768 (diff)
DBEditor:
- Fixed context menu git-svn-id: http://svn.miranda-ng.org/main/trunk@14961 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/DbEditorPP/src/moduletree.cpp')
-rw-r--r--plugins/DbEditorPP/src/moduletree.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/DbEditorPP/src/moduletree.cpp b/plugins/DbEditorPP/src/moduletree.cpp
index 04963061d0..d9fd92d8b0 100644
--- a/plugins/DbEditorPP/src/moduletree.cpp
+++ b/plugins/DbEditorPP/src/moduletree.cpp
@@ -304,7 +304,6 @@ void replaceTreeItem(MCONTACT hContact, const char* module, const char* newModul
void __cdecl PopulateModuleTreeThreadFunc(LPVOID param)
{
- TVINSERTSTRUCT tvi;
char SelectedModule[FLD_SIZE] = "";
char SelectedSetting[FLD_SIZE] = "";
@@ -323,7 +322,7 @@ void __cdecl PopulateModuleTreeThreadFunc(LPVOID param)
Select = 0;
- switch ((int)param) {
+ switch ((INT_PTR)param) {
case 1: // restore after rebuild
if (HTREEITEM item = TreeView_GetSelection(hwnd2Tree)) {
TCHAR text[FLD_SIZE];
@@ -362,7 +361,8 @@ void __cdecl PopulateModuleTreeThreadFunc(LPVOID param)
break;
}
- if ((int)param != 4) { // do not rebuild on just going to another setting
+ if ((INT_PTR)param != 4) { // do not rebuild on just going to another setting
+ TVINSERTSTRUCT tvi;
if (!EnumModules(&modlist))
return;