From fff25204093582d906b74ff22d3b62fcaedf67c1 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 18 Mar 2011 21:58:29 +0000 Subject: commandline option setting svn path=/trunk/netsurf/; revision=12106 --- desktop/netsurf.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'desktop/netsurf.c') diff --git a/desktop/netsurf.c b/desktop/netsurf.c index ed9dbb18b..0d6f5f809 100644 --- a/desktop/netsurf.c +++ b/desktop/netsurf.c @@ -95,6 +95,7 @@ nserror netsurf_init(int *pargc, const char *messages) { struct utsname utsname; + nserror ret = NSERROR_OK; #ifdef HAVE_SIGPIPE /* Ignore SIGPIPE - this is necessary as OpenSSL can generate these @@ -152,7 +153,9 @@ nserror netsurf_init(int *pargc, /* Initialize system colours */ gui_system_colour_init(); - return NSERROR_OK; + options_commandline(pargc, *pargv); + + return ret; } -- cgit v1.2.3