summaryrefslogtreecommitdiff
path: root/doc/en
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-02-19 18:43:48 +0100
committerSebastien Helleu <flashcode@flashtux.org>2013-02-19 18:43:48 +0100
commite4529079a8a5074a869244acc9bbb76152ab2a2f (patch)
tree34d719ad51ee10926415cc450330d3fcfa4abd72 /doc/en
parent9f0a16e586d2d671002baa6936042344130e62ea (diff)
downloadweechat-e4529079a8a5074a869244acc9bbb76152ab2a2f.zip
doc: fix typo on functions "weechat_infolist_new_var_*" in plugin API reference
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/weechat_plugin_api.en.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt
index 436b58169..607c35311 100644
--- a/doc/en/weechat_plugin_api.en.txt
+++ b/doc/en/weechat_plugin_api.en.txt
@@ -12433,10 +12433,10 @@ C example:
----------------------------------------
char buffer[256];
/* ... */
-struct t_infolist_var *var = weechat_infolist_new_variable_buffer (item,
- "my_buffer",
- &buffer,
- sizeof (buffer));
+struct t_infolist_var *var = weechat_infolist_new_var_buffer (item,
+ "my_buffer",
+ &buffer,
+ sizeof (buffer));
----------------------------------------
[NOTE]
@@ -12470,9 +12470,9 @@ C example:
[source,C]
----------------------------------------
-struct t_infolist_var *var = weechat_infolist_new_variable_time (item,
- "my_time",
- time (NULL));
+struct t_infolist_var *var = weechat_infolist_new_var_time (item,
+ "my_time",
+ time (NULL));
----------------------------------------
Script (Python):