From 0e162e4643a473154ad148ccf3c2e12d9fc324c6 Mon Sep 17 00:00:00 2001 From: Rein Klazes Date: Thu, 2 Jan 2003 17:54:23 +0000 Subject: [PATCH] Let ANIMATE_OpenA return FALSE (= failure) upon a request to close a previously opened AVI clip when there isn't one. --- dlls/comctl32/animate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/comctl32/animate.c b/dlls/comctl32/animate.c index 5fb5b2f8f28..01ae3155386 100644 --- a/dlls/comctl32/animate.c +++ b/dlls/comctl32/animate.c @@ -686,7 +686,8 @@ static LRESULT ANIMATE_OpenA(HWND hWnd, WPARAM wParam, LPARAM lParam) if (!lParam) { TRACE("Closing avi!\n"); - return TRUE; + /* installer of thebat! v1.62 requires FALSE here */ + return (infoPtr->hMMio != 0); } if (!hInstance)