summaryrefslogtreecommitdiff
path: root/amiga/tree.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2014-11-16 16:40:41 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2014-11-16 16:40:41 +0000
commit0966b8097ccd89c65989b76e4a960e7ecb788892 (patch)
treef09361109029ac8d22f25d8f318ae9a858e8aa8c /amiga/tree.c
parent20705189b9bb5e034544800dba8e16517a7d8ba3 (diff)
downloadnetsurf-0966b8097ccd89c65989b76e4a960e7ecb788892.tar.gz
netsurf-0966b8097ccd89c65989b76e4a960e7ecb788892.tar.bz2
Allocate screen title when first needed and keep it private to amiga/gui.c
Diffstat (limited to 'amiga/tree.c')
-rw-r--r--amiga/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/tree.c b/amiga/tree.c
index fc07f0073..75ba123ad 100644
--- a/amiga/tree.c
+++ b/amiga/tree.c
@@ -732,7 +732,7 @@ void ami_tree_open(struct treeview_window *twin,int type)
if(type == AMI_TREE_SSLCERT)
{
twin->objects[OID_MAIN] = WindowObject,
- WA_ScreenTitle, nsscreentitle,
+ WA_ScreenTitle, ami_gui_get_screen_title(),
WA_Title, twin->wintitle,
WA_Activate, TRUE,
WA_DepthGadget, TRUE,
@@ -810,7 +810,7 @@ void ami_tree_open(struct treeview_window *twin,int type)
}
twin->objects[OID_MAIN] = WindowObject,
- WA_ScreenTitle,nsscreentitle,
+ WA_ScreenTitle, ami_gui_get_screen_title(),
WA_Title, twin->wintitle,
WA_Activate, TRUE,
WA_DepthGadget, TRUE,