summaryrefslogtreecommitdiff
path: root/doc/en/dev
diff options
context:
space:
mode:
Diffstat (limited to 'doc/en/dev')
-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>