summaryrefslogtreecommitdiff
path: root/plugins/DbEditorPP/src/watchedvars.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-18 13:21:39 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-18 13:21:39 +0000
commit6f8ff613bd81e4592173e9039ec0dc6f01ce5e6b (patch)
treeb2889bbf91a505107d1cf2c3b907f853451be586 /plugins/DbEditorPP/src/watchedvars.cpp
parent1bb9a86b26d3a9964844d42fa25690ce0a028258 (diff)
dbeditor++ - unified project
git-svn-id: http://svn.miranda-ng.org/main/trunk@14244 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/DbEditorPP/src/watchedvars.cpp')
-rw-r--r--plugins/DbEditorPP/src/watchedvars.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/DbEditorPP/src/watchedvars.cpp b/plugins/DbEditorPP/src/watchedvars.cpp
index 3b4f9a3c9b..b9bc71cefd 100644
--- a/plugins/DbEditorPP/src/watchedvars.cpp
+++ b/plugins/DbEditorPP/src/watchedvars.cpp
@@ -1,4 +1,4 @@
-#include "headers.h"
+#include "stdafx.h"
HWND hwnd2watchedVarsWindow = NULL;
@@ -372,14 +372,10 @@ void popupWatchedVar(MCONTACT hContact, const char *module, const char *setting)
int timeout = db_get_b(NULL, modname, "PopupDelay", 3);
TCHAR name[NAME_SIZE], text[MAX_SECONDLINE], value[MAX_SECONDLINE];
- int res = 0;
-
GetContactName(hContact, NULL, name, SIZEOF(name));
// 2nd line
int type = GetValue(hContact, module, setting, value, SIZEOF(value));
-// if (!type) value = _T("NULL");
-
mir_sntprintf(text, TranslateT("Database Setting Changed: \nModule: \"%s\", Setting: \"%s\"\nNew Value (%s): \"%s\""), _A2T(module), _A2T(setting), DBVType(type), value);
POPUPDATAT ppd = { 0 };