diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2017-01-02 15:02:32 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2017-01-02 15:02:32 +0000 |
commit | 0fafa9576e8963928c13c81524e64b624b794c98 (patch) | |
tree | b7c3a43ed6ff9420c69eea276b6cd36c7b0ef16b /frontends/amiga/corewindow.c | |
parent | 4892497a19083cf328711f28376d16133a684353 (diff) | |
download | netsurf-0fafa9576e8963928c13c81524e64b624b794c98.tar.gz netsurf-0fafa9576e8963928c13c81524e64b624b794c98.tar.bz2 |
make the window title text common
Diffstat (limited to 'frontends/amiga/corewindow.c')
-rw-r--r-- | frontends/amiga/corewindow.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/frontends/amiga/corewindow.c b/frontends/amiga/corewindow.c index db42775bb..024e768b9 100644 --- a/frontends/amiga/corewindow.c +++ b/frontends/amiga/corewindow.c @@ -60,6 +60,7 @@ #include "amiga/misc.h" #include "amiga/object.h" #include "amiga/schedule.h" +#include "amiga/utf8.h" /** * Convert co-ordinates relative to space.gadget @@ -665,6 +666,9 @@ nserror ami_corewindow_fini(struct ami_corewindow *ami_cw) ami_plot_release_pens(ami_cw->gg.shared_pens); ami_free_layers(&ami_cw->gg); + /* free the window title */ + ami_utf8_free(ami_cw->wintitle); + /* remove the core window from our window list */ ami_gui_win_list_remove(ami_cw); |