credui: Use SetRectEmpty() instead of memset().

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2017-04-17 21:42:01 +02:00 committed by Alexandre Julliard
parent 986a14f950
commit dc0a49f3bb
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ static void CredDialogCreateBalloonTip(HWND hwndDlg, struct cred_dialog_params *
toolinfo.uFlags = TTF_TRACK;
toolinfo.hwnd = hwndDlg;
toolinfo.uId = TOOLID_INCORRECTPASSWORD;
memset(&toolinfo.rect, 0, sizeof(toolinfo.rect));
SetRectEmpty(&toolinfo.rect);
toolinfo.hinst = NULL;
toolinfo.lpszText = wszText;
toolinfo.lParam = 0;