Let ANIMATE_OpenA return FALSE (= failure) upon a request to close a

previously opened AVI clip when there isn't one.
oldstable
Rein Klazes 2003-01-02 17:54:23 +00:00 committed by Alexandre Julliard
parent 3e7628e901
commit 0e162e4643
1 changed files with 2 additions and 1 deletions

View File

@ -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)