summaryrefslogtreecommitdiff
path: root/package/weechat/patches/patch-src_gui_gui-completion_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-19 10:49:49 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-19 10:49:49 +0200
commit7907e3ee7302ac3fd428989a07b0df74f0c52853 (patch)
treee6de18488a687707667927065724372b40510d65 /package/weechat/patches/patch-src_gui_gui-completion_c
parentb70fdbfbf1139605c22083b647337f2b16f62fc3 (diff)
parent61355d1f054c15673adeb62d32dfd4563f89c165 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/weechat/patches/patch-src_gui_gui-completion_c')
-rw-r--r--package/weechat/patches/patch-src_gui_gui-completion_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/weechat/patches/patch-src_gui_gui-completion_c b/package/weechat/patches/patch-src_gui_gui-completion_c
new file mode 100644
index 000000000..b1601a13e
--- /dev/null
+++ b/package/weechat/patches/patch-src_gui_gui-completion_c
@@ -0,0 +1,11 @@
+--- weechat-0.3.2.orig/src/gui/gui-completion.c 2010-04-08 16:05:14.000000000 +0200
++++ weechat-0.3.2/src/gui/gui-completion.c 2010-07-15 16:41:35.415870907 +0200
+@@ -1658,7 +1658,7 @@ gui_completion_build_list (struct t_gui_
+ }
+ if (repeat_last)
+ {
+- pos_space = rindex (HOOK_COMMAND(ptr_hook, completion), ' ');
++ pos_space = strrchr (HOOK_COMMAND(ptr_hook, completion), ' ');
+ gui_completion_build_list_template (completion,
+ (pos_space) ?
+ pos_space + 1 : HOOK_COMMAND(ptr_hook,