Mercurial > dillo_port1.3
changeset 2031:ae8f0d070aea
uicmd.cc: remove an unnecessary static variable
author | Jorge Arellano Cid <jcid@dillo.org> |
---|---|
date | Tue, 17 May 2011 13:58:58 -0400 |
parents | 2bb1121a1960 |
children | 1a32d5ed2cd7 |
files | src/uicmd.cc |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/uicmd.cc Mon May 16 21:40:27 2011 -0400 +++ b/src/uicmd.cc Tue May 17 13:58:58 2011 -0400 @@ -56,7 +56,6 @@ * Local data */ static char *save_dir = NULL; -static UI *Gui; /* * Forward declarations @@ -398,7 +397,7 @@ int focus = 1; new_bw = UIcmd_tab_new(DilloTabs, old_ui, focus); - win->resizable(Gui); + win->resizable(BW2UI(new_bw)); win->show(); if (old_bw == NULL && prefs.xpos >= 0 && prefs.ypos >= 0) { @@ -421,7 +420,6 @@ // Create and set the UI UI *new_ui = tabs->add_new_tab(old_ui, focus); - Gui = new_ui; // Now create the Dw render layout and viewport FltkPlatform *platform = new FltkPlatform ();