projects
/
uzbl-mobile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
771e509
)
Take argv[1] as URI.
author
Tom Adams
<tom@holizz.com>
Sat, 18 Jul 2009 09:02:00 +0000
(10:02 +0100)
committer
Tom Adams
<tom@holizz.com>
Sat, 18 Jul 2009 09:02:00 +0000
(10:02 +0100)
uzbl.c
patch
|
blob
|
history
diff --git
a/uzbl.c
b/uzbl.c
index
dfd61a6
..
ffad99b
100644
(file)
--- a/
uzbl.c
+++ b/
uzbl.c
@@
-2730,6
+2730,8
@@
main (int argc, char* argv[]) {
retreive_geometry();
gchar *uri_override = (uzbl.state.uri ? g_strdup(uzbl.state.uri) : NULL);
+ if (argc > 1 && !uzbl.state.uri)
+ uri_override = g_strdup(argv[1]);
gboolean verbose_override = uzbl.state.verbose;
settings_init ();