From 6f8ff613bd81e4592173e9039ec0dc6f01ce5e6b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 18 Jun 2015 13:21:39 +0000 Subject: dbeditor++ - unified project git-svn-id: http://svn.miranda-ng.org/main/trunk@14244 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/DbEditorPP/src/watchedvars.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'plugins/DbEditorPP/src/watchedvars.cpp') 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 }; -- cgit v1.2.3