diff options
author | Marco Peereboom <marco@conformal.com> | 2011-07-18 17:16:38 +0000 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2011-07-18 17:16:38 +0000 |
commit | e57e238283a6c17ce266aba80926cf8db5fba593 (patch) | |
tree | 9aa6e7d2e1f312f57c6b7218952181d9cef13a58 | |
parent | 25714ffc24ae8208640440d1c265062340c2a336 (diff) | |
download | xombrero-e57e238283a6c17ce266aba80926cf8db5fba593.tar.gz |
an alias without an argument opens an url containing %s. this diff
substitutes the %s for "". From: Michal Mazurek <akfaew@jasminek.net>
-rw-r--r-- | xxxterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xxxterm.c b/xxxterm.c index 89601c8..145bb30 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -1474,7 +1474,7 @@ match_alias(char *url_in) url_out = g_strdup_printf(a->a_uri, enc_arg); g_free(enc_arg); } else - url_out = g_strdup(a->a_uri); + url_out = g_strdup_printf(a->a_uri, ""); } done: g_free(search); |