diff options
author | Christian Dywan <christian@twotoasts.de> | 2013-03-26 08:13:42 +0100 |
---|---|---|
committer | Christian Dywan <christian@twotoasts.de> | 2013-03-26 08:13:42 +0100 |
commit | 984813bcb035c215a0b1dc1e97819f6345f03841 (patch) | |
tree | 882c1ed2c2a0673a72ba1bfa44545d02c2077d86 /midori/sokoke.c | |
parent | 00631863d62c1c6d19c03e891cd43a05af06f8bd (diff) | |
download | midori-984813bcb035c215a0b1dc1e97819f6345f03841.tar.gz |
Make invalid actions fail; abstract exit on error
Diffstat (limited to 'midori/sokoke.c')
-rw-r--r-- | midori/sokoke.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/midori/sokoke.c b/midori/sokoke.c index 0d769148..66636ba5 100644 --- a/midori/sokoke.c +++ b/midori/sokoke.c @@ -557,10 +557,7 @@ sokoke_magic_uri (const gchar* uri, g_strfreev (parts); } if (!allow_search) - { - g_printerr ("%s - %s\n", _("Midori"), _("Invalid URI")); - exit (1); - } + midori_error (_("Invalid URI")); return NULL; } |