summaryrefslogtreecommitdiff
path: root/package/weechat/patches/patch-src_gui_gui-completion_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-15 18:32:13 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-15 18:32:13 +0200
commit71582bdd2080c6d7fb446d4cea10c93cf781419d (patch)
treebeaabc3d8dfed77d2c2838d804020b780d2d7c35 /package/weechat/patches/patch-src_gui_gui-completion_c
parentee120a704a2d193bb763c87e31fce38c58f75d1e (diff)
parent6c739ba5d6d6f47b983c1ba39df6f73b79f78810 (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,