diff options
author | stfn <stfnmd@gmail.com> | 2012-08-02 22:41:38 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-08-02 22:41:38 +0200 |
commit | 04520c81d6727db1c4833968cf91b26c209bca1d (patch) | |
tree | 00029dc5a56e0c7631f96e8d53db04c720feef83 | |
parent | 57eb513547bea5aebac8a4390b1de7cdf03c27ac (diff) | |
download | weechat-04520c81d6727db1c4833968cf91b26c209bca1d.zip |
doc: fix C example of weechat_charset_set and weechat_iconv_to_internal (plugin API reference)
-rw-r--r-- | doc/en/weechat_plugin_api.en.txt | 4 | ||||
-rw-r--r-- | doc/fr/weechat_plugin_api.fr.txt | 4 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.txt | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt index ccc517659..1a04def92 100644 --- a/doc/en/weechat_plugin_api.en.txt +++ b/doc/en/weechat_plugin_api.en.txt @@ -297,7 +297,7 @@ C example: [source,C] ---------------------------------------- -weechat_charset_set (plugin, "iso-8859-1"); +weechat_charset_set ("iso-8859-1"); ---------------------------------------- Script (Python): @@ -336,7 +336,7 @@ C example: [source,C] ---------------------------------------- -char *str = weechat_iconv_to_internal (plugin, "iso-8859-1", "iso string: é à"); +char *str = weechat_iconv_to_internal ("iso-8859-1", "iso string: é à"); /* ... */ free (str); ---------------------------------------- diff --git a/doc/fr/weechat_plugin_api.fr.txt b/doc/fr/weechat_plugin_api.fr.txt index fc67e1021..32b0f1775 100644 --- a/doc/fr/weechat_plugin_api.fr.txt +++ b/doc/fr/weechat_plugin_api.fr.txt @@ -304,7 +304,7 @@ Exemple en C : [source,C] ---------------------------------------- -weechat_charset_set (plugin, "iso-8859-1"); +weechat_charset_set ("iso-8859-1"); ---------------------------------------- Script (Python) : @@ -343,7 +343,7 @@ Exemple en C : [source,C] ---------------------------------------- -char *str = weechat_iconv_to_internal (plugin, "iso-8859-1", "chaîne iso : é à"); +char *str = weechat_iconv_to_internal ("iso-8859-1", "chaîne iso : é à"); /* ... */ free (str); ---------------------------------------- diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt index 0a7c56a5b..959279388 100644 --- a/doc/it/weechat_plugin_api.it.txt +++ b/doc/it/weechat_plugin_api.it.txt @@ -307,7 +307,7 @@ Esempio in C: [source,C] ---------------------------------------- -weechat_charset_set (plugin, "iso-8859-1"); +weechat_charset_set ("iso-8859-1"); ---------------------------------------- Script (Python): @@ -348,7 +348,7 @@ Esempio in C: [source,C] ---------------------------------------- -char *str = weechat_iconv_to_internal (plugin, "iso-8859-1", "iso string: é à"); +char *str = weechat_iconv_to_internal ("iso-8859-1", "iso string: é à"); /* ... */ free (str); ---------------------------------------- |