summaryrefslogtreecommitdiff
path: root/beos/scaffolding.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'beos/scaffolding.cpp')
-rw-r--r--beos/scaffolding.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/beos/scaffolding.cpp b/beos/scaffolding.cpp
index 74c3c81e5..3c4262410 100644
--- a/beos/scaffolding.cpp
+++ b/beos/scaffolding.cpp
@@ -1607,7 +1607,8 @@ void nsbeos_attach_toplevel_view(nsbeos_scaffolding *g, BView *view)
g->window->Show();
if(NSBrowserWindow::activeWindow) {
- BWindowStack(NSBrowserWindow::activeWindow).AddWindow(g->window);
+ BWindowStack stack(NSBrowserWindow::activeWindow);
+ stack.AddWindow(g->window);
}
#endif
g->window->Show();