From c52bea0a2079cdcefcdbdf672cb259f065186d3f Mon Sep 17 00:00:00 2001 From: Eric Heien Date: Tue, 11 Mar 2003 18:58:31 +0000 Subject: [PATCH] windows fix svn path=/trunk/boinc/; revision=1052 --- client/win/wingui_mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/client/win/wingui_mainwindow.cpp b/client/win/wingui_mainwindow.cpp index 8538371a03..b329d700e0 100755 --- a/client/win/wingui_mainwindow.cpp +++ b/client/win/wingui_mainwindow.cpp @@ -503,6 +503,7 @@ void CMainWindow::SetStatusIcon(DWORD dwMessage) // if icon is in that state already, there is nothing to do if(dwMessage == m_nIconState) return; NOTIFYICONDATA icon_data; + memset( &icon_data, 0, sizeof(NOTIFYICONDATA) ); icon_data.cbSize = sizeof(NOTIFYICONDATA); icon_data.uFlags = NIF_MESSAGE | NIF_ICON | NIF_TIP; icon_data.hWnd = GetSafeHwnd();