Additional fix for r581.

This commit is contained in:
spx 2010-11-04 22:34:14 +00:00
parent bfdc8d2d74
commit 02be3ed29c

View File

@ -2554,7 +2554,7 @@ void CMeterWindow::UpdateTransparency(int alpha, bool reset)
POINT ptSrc = {0, 0};
SIZE szWindow;
if (m_WindowW == 0 && m_WindowH == 0)
if (m_WindowW == 0 || m_WindowH == 0)
{
// Set dummy size to avoid invalid state
szWindow.cx = 1;