summaryrefslogtreecommitdiff
path: root/doc/en/dev/plugin_c_api.en.xml
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-02-17 19:23:16 +0100
committerSebastien Helleu <flashcode@flashtux.org>2009-02-17 19:23:16 +0100
commitb5f27d3fead4740099054f82e9a246ebd8a6ae9d (patch)
tree4f8a31924c4fc4b3cda8af53ba9d06809d23bfb4 /doc/en/dev/plugin_c_api.en.xml
parenteaf3319ed342d008893c613817cc5dc13449098c (diff)
downloadweechat-b5f27d3fead4740099054f82e9a246ebd8a6ae9d.zip
Use string instead of char for prefixes in nicklist
Diffstat (limited to 'doc/en/dev/plugin_c_api.en.xml')
-rw-r--r--doc/en/dev/plugin_c_api.en.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/en/dev/plugin_c_api.en.xml b/doc/en/dev/plugin_c_api.en.xml
index 0cf81bd23..21a88e3de 100644
--- a/doc/en/dev/plugin_c_api.en.xml
+++ b/doc/en/dev/plugin_c_api.en.xml
@@ -7796,7 +7796,7 @@ struct t_gui_nick_group *weechat_nicklist_add_nick (
struct t_gui_nick_group *group,
const char *name,
const char *color,
- char prefix,
+ const char *prefix,
const char *prefix_color,
int visible);
</programlisting>
@@ -7860,7 +7860,7 @@ struct t_gui_nick *my_nick =
weechat_nicklist_add_nick (my_buffer, my_group,
"test_nick",
(nick_away) ? "weechat.color.nicklist_away" : "bar_fg",
- '@', "lightgreen",
+ "@", "lightgreen",
1);
</screen>
</para>