r9964 jmb - /trunk/netsurf/framebuffer/gui.c

netsurf at semichrome.net netsurf at semichrome.net
Wed Feb 10 07:22:52 GMT 2010


Author: jmb
Date: Wed Feb 10 01:22:50 2010
New Revision: 9964

URL: http://source.netsurf-browser.org?rev=9964&view=rev
Log:
Process command line after loading options file.

Modified:
    trunk/netsurf/framebuffer/gui.c

Modified: trunk/netsurf/framebuffer/gui.c
URL: http://source.netsurf-browser.org/trunk/netsurf/framebuffer/gui.c?rev=9964&r1=9963&r2=9964&view=diff
==============================================================================
--- trunk/netsurf/framebuffer/gui.c (original)
+++ trunk/netsurf/framebuffer/gui.c Wed Feb 10 01:22:50 2010
@@ -419,11 +419,7 @@
 void gui_init(int argc, char** argv)
 {
 	char buf[PATH_MAX];
-        nsfb_t *nsfb;
-
-	if (process_cmdline(argc,argv) != true) 
-		die("unable to process command line.\n");
-	
+        nsfb_t *nsfb;	
 
 	fb_find_resource(buf, "Aliases", "./framebuffer/res/Aliases");
 	LOG(("Using '%s' as Aliases file", buf));
@@ -450,6 +446,9 @@
 
 	fb_find_resource(buf, "quirks.css", "./framebuffer/res/quirks.css");
 	quirks_stylesheet_url = path_to_url(buf);
+
+	if (process_cmdline(argc,argv) != true) 
+		die("unable to process command line.\n");
 
         nsfb = framebuffer_initialise(fename, fewidth, feheight, febpp);
         if (nsfb == NULL)




More information about the netsurf-commits mailing list