patch-src_gui_gui-completion_c 605 B

1234567891011
  1. --- weechat-0.3.2.orig/src/gui/gui-completion.c 2010-04-08 16:05:14.000000000 +0200
  2. +++ weechat-0.3.2/src/gui/gui-completion.c 2010-07-15 16:41:35.415870907 +0200
  3. @@ -1658,7 +1658,7 @@ gui_completion_build_list (struct t_gui_
  4. }
  5. if (repeat_last)
  6. {
  7. - pos_space = rindex (HOOK_COMMAND(ptr_hook, completion), ' ');
  8. + pos_space = strrchr (HOOK_COMMAND(ptr_hook, completion), ' ');
  9. gui_completion_build_list_template (completion,
  10. (pos_space) ?
  11. pos_space + 1 : HOOK_COMMAND(ptr_hook,