diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/en/weechat_plugin_api.en.txt | 2 | ||||
-rw-r--r-- | doc/fr/weechat_plugin_api.fr.txt | 2 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt index e791cd709..6cdb94478 100644 --- a/doc/en/weechat_plugin_api.en.txt +++ b/doc/en/weechat_plugin_api.en.txt @@ -7022,7 +7022,7 @@ struct t_hashtable *options = weechat_hashtable_new (8, WEECHAT_HASHTABLE_STRING, NULL, NULL); -if (hashtable) +if (options) { weechat_hashtable_set (options, "file_out", "/tmp/weechat.org.html"); struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://www.weechat.org/", diff --git a/doc/fr/weechat_plugin_api.fr.txt b/doc/fr/weechat_plugin_api.fr.txt index 521be6ca1..53a00f188 100644 --- a/doc/fr/weechat_plugin_api.fr.txt +++ b/doc/fr/weechat_plugin_api.fr.txt @@ -7125,7 +7125,7 @@ struct t_hashtable *options = weechat_hashtable_new (8, WEECHAT_HASHTABLE_STRING, NULL, NULL); -if (hashtable) +if (options) { weechat_hashtable_set (options, "file_out", "/tmp/weechat.org.html"); struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://www.weechat.org/", diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt index 36e5cd524..79f601955 100644 --- a/doc/it/weechat_plugin_api.it.txt +++ b/doc/it/weechat_plugin_api.it.txt @@ -7051,7 +7051,7 @@ struct t_hashtable *options = weechat_hashtable_new (8, WEECHAT_HASHTABLE_STRING, NULL, NULL); -if (hashtable) +if (options) { weechat_hashtable_set (options, "file_out", "/tmp/weechat.org.html"); struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://www.weechat.org/", |