summaryrefslogtreecommitdiff
path: root/package/weechat/patches/patch-src_gui_gui-completion_c
diff options
context:
space:
mode:
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,