/[weechat]/weechat/src/common/completion.c
ViewVC logotype

Diff of /weechat/src/common/completion.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.31 by flashcode, Fri Oct 21 13:59:55 2005 UTC revision 1.32 by flashcode, Tue Oct 25 17:37:13 2005 UTC
# Line 115  completion_build_list (t_completion *com Line 115  completion_build_list (t_completion *com
115      char option_string[2048];      char option_string[2048];
116  #ifdef PLUGINS  #ifdef PLUGINS
117      t_weechat_plugin *ptr_plugin;      t_weechat_plugin *ptr_plugin;
118      t_plugin_cmd_handler *ptr_cmd_handler;      t_plugin_handler *ptr_handler;
119  #endif  #endif
120            
121      /* WeeChat internal commands */      /* WeeChat internal commands */
# Line 213  completion_build_list (t_completion *com Line 213  completion_build_list (t_completion *com
213          for (ptr_plugin = weechat_plugins; ptr_plugin;          for (ptr_plugin = weechat_plugins; ptr_plugin;
214               ptr_plugin = ptr_plugin->next_plugin)               ptr_plugin = ptr_plugin->next_plugin)
215          {          {
216              for (ptr_cmd_handler = ptr_plugin->cmd_handlers;              for (ptr_handler = ptr_plugin->handlers;
217                   ptr_cmd_handler;                   ptr_handler; ptr_handler = ptr_handler->next_handler)
                  ptr_cmd_handler = ptr_cmd_handler->next_handler)  
218              {              {
219                  weelist_add (&completion->completion_list,                  if (ptr_handler->type == HANDLER_COMMAND)
220                               &completion->last_completion,                      weelist_add (&completion->completion_list,
221                               ptr_cmd_handler->command);                                   &completion->last_completion,
222                                     ptr_handler->command);
223              }              }
224          }          }
225  #endif  #endif

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26