summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2014-11-16 16:44:19 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2014-11-16 16:44:19 +0000
commit230e348315d4c2bd4745ac330754e94503b2cacc (patch)
treec93cc4d520e0e836c18f7e82150b8ccaa5b8c70e /amiga/gui.c
parent0966b8097ccd89c65989b76e4a960e7ecb788892 (diff)
downloadnetsurf-230e348315d4c2bd4745ac330754e94503b2cacc.tar.gz
netsurf-230e348315d4c2bd4745ac330754e94503b2cacc.tar.bz2
update comments
Diffstat (limited to 'amiga/gui.c')
-rw-r--r--amiga/gui.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index dd4daafac..5d11bdae4 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -477,8 +477,11 @@ colour_option_from_pen(UWORD pen,
/* exported interface documented in amiga/gui.h */
STRPTR ami_gui_get_screen_title(void)
{
- if(nsscreentitle == NULL)
+ if(nsscreentitle == NULL) {
nsscreentitle = ASPrintf("NetSurf %s", netsurf_version);
+ /* If this fails it will be NULL, which means we'll get the screen's
+ * default titlebar text instead - so no need to check for error. */
+ }
return nsscreentitle;
}