From f9d222595bdbdbf22eb6cdceade67d2efc9a1555 Mon Sep 17 00:00:00 2001 From: "danm%netscape.com" Date: Fri, 14 Jan 2000 00:38:12 +0000 Subject: [PATCH] scoping local variables cleans up warnings and probably stops someone's compiler from hurting itself git-svn-id: svn://10.0.0.236/trunk@57757 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/appshell/src/nsWebShellWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp b/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp index e0244d0b1e6..3b10cbd00ab 100644 --- a/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp +++ b/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp @@ -474,13 +474,14 @@ nsWebShellWindow::HandleEvent(nsGUIEvent *aEvent) * For size events, the WebShell must be resized to fill the entire * client area of the window... */ - case NS_MOVE: + case NS_MOVE: { void* data; nsWebShellWindow *win; aEvent->widget->GetClientData(data); win = NS_REINTERPRET_CAST(nsWebShellWindow *, data); win->StoreBoundsToXUL(PR_TRUE, PR_FALSE); break; + } case NS_SIZE: { void* data; nsWebShellWindow *win;