aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl.c
diff options
context:
space:
mode:
authorGravatar Robert Manea <gotmor@gmail.com>2009-06-16 10:13:50 +0200
committerGravatar Robert Manea <gotmor@gmail.com>2009-06-16 10:13:50 +0200
commitb5aac3dc171a3c29c129161c9f18c2b5f0b9b997 (patch)
tree0739f39d2378b0d2902fb90a94302a0fa4e7e97c /uzbl.c
parentb69be185c01329f7c29d28eb137ef19f19b5f7ab (diff)
clean up after merge
Diffstat (limited to 'uzbl.c')
-rw-r--r--uzbl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/uzbl.c b/uzbl.c
index a5aee1a..4684e57 100644
--- a/uzbl.c
+++ b/uzbl.c
@@ -760,7 +760,7 @@ print(WebKitWebView *page, GArray *argv, GString *result) {
(void) page; (void) result;
gchar* buf;
- buf = expand_vars(argv_idx(argv, 0));
+ buf = expand(argv_idx(argv, 0), 0);
g_string_assign(result, buf);
g_free(buf);
}
@@ -1042,10 +1042,11 @@ keycmd_nl (WebKitWebView *page, GArray *argv, GString *result) {
}
static void
-keycmd_bs (WebKitWebView *page, GArray *argv) {
+keycmd_bs (WebKitWebView *page, GArray *argv, GString *result) {
gchar *prev;
(void)page;
(void)argv;
+ (void)result;
prev = g_utf8_find_prev_char(uzbl.state.keycmd->str, uzbl.state.keycmd->str + uzbl.state.keycmd->len);
if (prev)
g_string_truncate(uzbl.state.keycmd, prev - uzbl.state.keycmd->str);