projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
778a37e
)
Don't call search engine for url like http://localhost.
author
Daniel Carl
<danielcarl@gmx.de>
Thu, 4 Apr 2013 15:39:07 +0000
(17:39 +0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Thu, 4 Apr 2013 15:43:19 +0000
(17:43 +0200)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
d5cece1
..
17a33d6
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-143,7
+143,7
@@
gboolean vb_load_uri(const Arg *arg)
rp = realpath(path, NULL);
uri = g_strdup_printf("file://%s", rp);
free(rp);
- } else if (!strchr(path, '.')) {
+ } else if (!strchr(path, '.'
&& !strchr(path, '/')
)) {
char *part = NULL, *tmpl = NULL, *query = NULL;
/* look up for a searchengine with handle */