From 99962115431435cf17dfae4d3b7c8d7d55d824bf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 8 Mar 2019 15:29:44 +0300 Subject: life is too short to remember whether this structure is zeroed or not --- plugins/DbEditorPP/src/watchedvars.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/DbEditorPP/src') diff --git a/plugins/DbEditorPP/src/watchedvars.cpp b/plugins/DbEditorPP/src/watchedvars.cpp index 333180ef33..f24dad1745 100644 --- a/plugins/DbEditorPP/src/watchedvars.cpp +++ b/plugins/DbEditorPP/src/watchedvars.cpp @@ -359,7 +359,7 @@ void popupWatchedVar(MCONTACT hContact, const char *module, const char *setting) int type = GetValue(hContact, module, setting, value, _countof(value)); mir_snwprintf(text, TranslateT("Database Setting Changed: \nModule: \"%s\", Setting: \"%s\"\nNew Value (%s): \"%s\""), _A2T(module), _A2T(setting), DBVType(type), value); - POPUPDATAW ppd = { 0 }; + POPUPDATAW ppd; ppd.lchContact = (MCONTACT)hContact; ppd.lchIcon = LoadIcon(g_plugin.getInst(), MAKEINTRESOURCE(ICO_REGEDIT)); mir_wstrncpy(ppd.lpwzContactName, name, _countof(ppd.lpwzContactName)); -- cgit v1.2.3