From 0966b8097ccd89c65989b76e4a960e7ecb788892 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 16 Nov 2014 16:40:41 +0000 Subject: Allocate screen title when first needed and keep it private to amiga/gui.c --- amiga/history_local.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'amiga/history_local.c') diff --git a/amiga/history_local.c b/amiga/history_local.c index 8c95122d1..069d8b665 100755 --- a/amiga/history_local.c +++ b/amiga/history_local.c @@ -117,8 +117,8 @@ void ami_history_open(struct gui_window *gw, struct history *history) gw->hw->scrollerhook.h_Data = gw->hw; gw->hw->objects[OID_MAIN] = WindowObject, - WA_ScreenTitle,nsscreentitle, - WA_Title,messages_get("History"), + WA_ScreenTitle, ami_gui_get_screen_title(), + WA_Title, messages_get("History"), WA_Activate, TRUE, WA_DepthGadget, TRUE, WA_DragBar, TRUE, -- cgit v1.2.3