scoping local variables cleans up warnings and probably stops someone's compiler from hurting itself

This commit is contained in:
danm%netscape.com 2000-01-14 00:38:12 +00:00
Родитель 64297c431f
Коммит a35f8ee87a
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

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