From 79d89d1831339e0793647e6534f741562a879682 Mon Sep 17 00:00:00 2001 From: "tbogard%aol.net" Date: Tue, 8 Feb 2000 18:57:02 +0000 Subject: [PATCH] Fixed crash when dismissing modal dialogs. r=mscott --- xpfe/appshell/src/nsXULWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpfe/appshell/src/nsXULWindow.cpp b/xpfe/appshell/src/nsXULWindow.cpp index 856dd49ac457..1ef2864cb3af 100644 --- a/xpfe/appshell/src/nsXULWindow.cpp +++ b/xpfe/appshell/src/nsXULWindow.cpp @@ -787,7 +787,7 @@ NS_IMETHODIMP nsXULWindow::ShowModal() rv = appShell->GetNativeEvent(isRealEvent, data); if(NS_SUCCEEDED(rv)) { - mWindow->ModalEventFilter(isRealEvent, data, &processEvent); + window->ModalEventFilter(isRealEvent, data, &processEvent); if(processEvent) appShell->DispatchNativeEvent(isRealEvent, data); }