Let ANIMATE_OpenA return FALSE (= failure) upon a request to close a
previously opened AVI clip when there isn't one.
This commit is contained in:
parent
3e7628e901
commit
0e162e4643
|
@ -686,7 +686,8 @@ static LRESULT ANIMATE_OpenA(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
||||||
|
|
||||||
if (!lParam) {
|
if (!lParam) {
|
||||||
TRACE("Closing avi!\n");
|
TRACE("Closing avi!\n");
|
||||||
return TRUE;
|
/* installer of thebat! v1.62 requires FALSE here */
|
||||||
|
return (infoPtr->hMMio != 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!hInstance)
|
if (!hInstance)
|
||||||
|
|
Loading…
Reference in New Issue