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
This commit is contained in:
danm%netscape.com
2000-01-14 00:38:12 +00:00
parent dc470d54cb
commit f9d222595b

View File

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