summaryrefslogtreecommitdiff
path: root/src/plugins/alias/alias.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-03-19 23:33:14 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-03-19 23:33:14 +0100
commit2801b8437c0ee1c529244c1b7f7a6603e029a5a5 (patch)
tree506e97763d6dadc664a3811b600a0f2890cc0b4b /src/plugins/alias/alias.c
parentbc3fa9fd4cddd24d066b60f11c08d3c8e5ff1e61 (diff)
downloadweechat-2801b8437c0ee1c529244c1b7f7a6603e029a5a5.zip
Reformat multi-line comments
Diffstat (limited to 'src/plugins/alias/alias.c')
-rw-r--r--src/plugins/alias/alias.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/plugins/alias/alias.c b/src/plugins/alias/alias.c
index d93a51b66..b59af9f83 100644
--- a/src/plugins/alias/alias.c
+++ b/src/plugins/alias/alias.c
@@ -309,8 +309,10 @@ alias_run_command (struct t_gui_buffer **buffer, const char *command)
/* get new current buffer */
new_current_buffer = weechat_current_buffer();
- /* if current buffer was changed by command, then we'll use this one for
- next commands in alias */
+ /*
+ * if current buffer was changed by command, then we'll use this one for
+ * next commands in alias
+ */
if (old_current_buffer != new_current_buffer)
*buffer = new_current_buffer;
}
@@ -361,8 +363,11 @@ alias_cb (void *data, struct t_gui_buffer *buffer, int argc, char **argv,
if (args_replaced && (strcmp (args_replaced, *ptr_cmd) != 0))
some_args_replaced = 1;
- /* if alias has arguments, they are now
- arguments of the last command in the list (if no $1,$2,..$*) was found */
+ /*
+ * if alias has arguments, they are now
+ * arguments of the last command in the list (if no $1,$2,..$*)
+ * was found
+ */
if ((*ptr_next_cmd == NULL) && argv_eol[1] && (!some_args_replaced))
{
length1 = strlen (*ptr_cmd);
@@ -1079,7 +1084,7 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
(void) plugin;
alias_config_write ();
- alias_free_all ();
+ alias_free_all ();
weechat_config_free (alias_config_file);
return WEECHAT_RC_OK;