From 02be3ed29c0ce61428d0adb051127918b0e3eb78 Mon Sep 17 00:00:00 2001 From: spx Date: Thu, 4 Nov 2010 22:34:14 +0000 Subject: [PATCH] Additional fix for r581. --- Library/MeterWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/MeterWindow.cpp b/Library/MeterWindow.cpp index 77232aa6..aad4ffd0 100644 --- a/Library/MeterWindow.cpp +++ b/Library/MeterWindow.cpp @@ -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;