From 9e8849c04c5fd6685c8ffe8c7a0f9d91946b8753 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 11 Apr 2010 22:40:41 +0000 Subject: Take the easy way out wrt loading messages files: leave it to the RISC OS frontend to do this. svn path=/trunk/netsurf/; revision=10374 --- desktop/netsurf.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'desktop') diff --git a/desktop/netsurf.c b/desktop/netsurf.c index fcd44f642..f19632026 100644 --- a/desktop/netsurf.c +++ b/desktop/netsurf.c @@ -111,8 +111,10 @@ nserror netsurf_init(int *pargc, LOG(("Using '%s' for Options file", options)); options_read(options); - LOG(("Using '%s' as Messages file", messages)); - messages_load(messages); + if (messages != NULL) { + LOG(("Using '%s' as Messages file", messages)); + messages_load(messages); + } lwc_initialise(netsurf_lwc_alloc, NULL, 0); -- cgit v1.2.3