From 7e7fe2b37d3bd7239b255a7c2589ea8d4eb51440 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Wed, 4 Jan 2012 15:50:07 +0100 Subject: [PATCH] doc: fix typos in plugin API reference (examples of irc redirection) --- doc/en/weechat_plugin_api.en.txt | 4 ++-- doc/fr/weechat_plugin_api.fr.txt | 4 ++-- 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 34af44403..2d74c15c3 100644 --- a/doc/en/weechat_plugin_api.en.txt +++ b/doc/en/weechat_plugin_api.en.txt @@ -7703,7 +7703,7 @@ test_whois_cb (void *data, const char *signal, struct t_hashtable *hashtable) weechat_hook_hsignal ("irc_redirection_test_whois", &test_whois_cb, NULL); struct t_hashtable *hashtable = weechat_hashtable_new (8, WEECHAT_HASHTABLE_STRING, - WEECHAT_HASHTABLE_INTEGER, + WEECHAT_HASHTABLE_STRING, NULL, NULL); if (hashtable) @@ -7775,7 +7775,7 @@ C example: ---------------------------------------- struct t_hashtable *hashtable = weechat_hashtable_new (8, WEECHAT_HASHTABLE_STRING, - WEECHAT_HASHTABLE_INTEGER, + WEECHAT_HASHTABLE_STRING, NULL, NULL); if (hashtable) diff --git a/doc/fr/weechat_plugin_api.fr.txt b/doc/fr/weechat_plugin_api.fr.txt index 7fc735608..3e4054ab4 100644 --- a/doc/fr/weechat_plugin_api.fr.txt +++ b/doc/fr/weechat_plugin_api.fr.txt @@ -7817,7 +7817,7 @@ test_whois_cb (void *data, const char *signal, struct t_hashtable *hashtable) weechat_hook_hsignal ("irc_redirection_test_whois", &test_whois_cb, NULL); struct t_hashtable *hashtable = weechat_hashtable_new (8, WEECHAT_HASHTABLE_STRING, - WEECHAT_HASHTABLE_INTEGER, + WEECHAT_HASHTABLE_STRING, NULL, NULL); if (hashtable) @@ -7894,7 +7894,7 @@ Exemple en C : ---------------------------------------- struct t_hashtable *hashtable = weechat_hashtable_new (8, WEECHAT_HASHTABLE_STRING, - WEECHAT_HASHTABLE_INTEGER, + WEECHAT_HASHTABLE_STRING, NULL, NULL); if (hashtable) diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt index 14a129bac..7f7ba4bc3 100644 --- a/doc/it/weechat_plugin_api.it.txt +++ b/doc/it/weechat_plugin_api.it.txt @@ -7750,7 +7750,7 @@ test_whois_cb (void *data, const char *signal, struct t_hashtable *hashtable) weechat_hook_hsignal ("irc_redirection_test_whois", &test_whois_cb, NULL); struct t_hashtable *hashtable = weechat_hashtable_new (8, WEECHAT_HASHTABLE_STRING, - WEECHAT_HASHTABLE_INTEGER, + WEECHAT_HASHTABLE_STRING, NULL, NULL); if (hashtable) @@ -7823,7 +7823,7 @@ Esempio in C: ---------------------------------------- struct t_hashtable *hashtable = weechat_hashtable_new (8, WEECHAT_HASHTABLE_STRING, - WEECHAT_HASHTABLE_INTEGER, + WEECHAT_HASHTABLE_STRING, NULL, NULL); if (hashtable)