Process command line after loading options file.
svn path=/trunk/netsurf/; revision=9964
This commit is contained in:
parent
fcf264d4cd
commit
babf642970
|
@ -421,10 +421,6 @@ void gui_init(int argc, char** argv)
|
||||||
char buf[PATH_MAX];
|
char buf[PATH_MAX];
|
||||||
nsfb_t *nsfb;
|
nsfb_t *nsfb;
|
||||||
|
|
||||||
if (process_cmdline(argc,argv) != true)
|
|
||||||
die("unable to process command line.\n");
|
|
||||||
|
|
||||||
|
|
||||||
fb_find_resource(buf, "Aliases", "./framebuffer/res/Aliases");
|
fb_find_resource(buf, "Aliases", "./framebuffer/res/Aliases");
|
||||||
LOG(("Using '%s' as Aliases file", buf));
|
LOG(("Using '%s' as Aliases file", buf));
|
||||||
if (hubbub_initialise(buf, myrealloc, NULL) != HUBBUB_OK)
|
if (hubbub_initialise(buf, myrealloc, NULL) != HUBBUB_OK)
|
||||||
|
@ -451,6 +447,9 @@ void gui_init(int argc, char** argv)
|
||||||
fb_find_resource(buf, "quirks.css", "./framebuffer/res/quirks.css");
|
fb_find_resource(buf, "quirks.css", "./framebuffer/res/quirks.css");
|
||||||
quirks_stylesheet_url = path_to_url(buf);
|
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);
|
nsfb = framebuffer_initialise(fename, fewidth, feheight, febpp);
|
||||||
if (nsfb == NULL)
|
if (nsfb == NULL)
|
||||||
die("Unable to initialise framebuffer");
|
die("Unable to initialise framebuffer");
|
||||||
|
|
Loading…
Reference in New Issue