summaryrefslogtreecommitdiff
path: root/src/plugins/charset/charset.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-01-18 20:33:19 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-01-18 20:33:19 +0100
commit8fc751532241e07031229f707c11b95e813fcfb7 (patch)
tree603b89a1de5ee5278a4d31d69d65ff908f41077f /src/plugins/charset/charset.c
parentfacd73734da8200ab44e5e323e0728da5bc7db1c (diff)
downloadweechat-8fc751532241e07031229f707c11b95e813fcfb7.zip
core: reformat hook_command arguments
Diffstat (limited to 'src/plugins/charset/charset.c')
-rw-r--r--src/plugins/charset/charset.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/plugins/charset/charset.c b/src/plugins/charset/charset.c
index 3824f9db6..63a0ebc68 100644
--- a/src/plugins/charset/charset.c
+++ b/src/plugins/charset/charset.c
@@ -584,16 +584,17 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
charset_config_read ();
/* /charset command */
- weechat_hook_command ("charset",
- N_("change charset for current buffer"),
- N_("decode|encode <charset>"
- " || reset"),
- N_(" decode: change decoding charset\n"
- " encode: change encoding charset\n"
- "charset: new charset for current buffer\n"
- " reset: reset charsets for current buffer"),
- "decode|encode|reset",
- &charset_command_cb, NULL);
+ weechat_hook_command (
+ "charset",
+ N_("change charset for current buffer"),
+ N_("decode|encode <charset>"
+ " || reset"),
+ N_(" decode: change decoding charset\n"
+ " encode: change encoding charset\n"
+ "charset: new charset for current buffer\n"
+ " reset: reset charsets for current buffer"),
+ "decode|encode|reset",
+ &charset_command_cb, NULL);
/* modifiers hooks */
weechat_hook_modifier ("charset_decode", &charset_decode_cb, NULL);