diff options
Diffstat (limited to 'plugins/DbEditorPP/src/watchedvars.cpp')
-rw-r--r-- | plugins/DbEditorPP/src/watchedvars.cpp | 6 |
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 };
|