[project @ 2006-03-19 16:03:02 by dsilvers]
Make it so ./nsgtk http://somewhere will work for convenience svn path=/import/netsurf/; revision=2134
This commit is contained in:
parent
c4260ee25e
commit
63c65c6808
|
@ -81,7 +81,9 @@ void gui_init(int argc, char** argv)
|
|||
|
||||
void gui_init2(int argc, char** argv)
|
||||
{
|
||||
browser_window_create("http://netsurf.sourceforge.net/", 0, 0);
|
||||
const char *addr = "http://netsurf.sourceforge.net/";
|
||||
if (argc > 1) addr = argv[1];
|
||||
browser_window_create(addr, 0, 0);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue