From 30aa26c864fa09b974e3c223ccf907421ebc0759 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 10 Apr 2018 13:11:16 +0300 Subject: obsolete compatibility code removed from AVS --- plugins/YAPP/src/popwin.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/YAPP/src') diff --git a/plugins/YAPP/src/popwin.cpp b/plugins/YAPP/src/popwin.cpp index dce7e7cf1c..ee8a674678 100644 --- a/plugins/YAPP/src/popwin.cpp +++ b/plugins/YAPP/src/popwin.cpp @@ -413,8 +413,7 @@ LRESULT CALLBACK PopupWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa } avr.bottom = avr.top + pwd->real_av_height; - AVATARDRAWREQUEST adr = {0}; - adr.cbSize = sizeof(adr); + AVATARDRAWREQUEST adr = {}; adr.hContact = pd->hContact; adr.hTargetDC = ps.hdc; adr.rcDraw = avr; -- cgit v1.2.3