From 04b228715bf674e4272672dbd1036cc5dbea904a Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Wed, 11 Apr 2012 21:33:05 +0200 Subject: [PATCH] doc: fix return value of function hook_modifier_exec in plugin API reference --- doc/en/weechat_plugin_api.en.txt | 2 +- doc/fr/weechat_plugin_api.fr.txt | 3 +-- doc/it/weechat_plugin_api.it.txt | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt index 0449bc318..694bd87d1 100644 --- a/doc/en/weechat_plugin_api.en.txt +++ b/doc/en/weechat_plugin_api.en.txt @@ -8631,7 +8631,7 @@ Arguments: Return value: -* string modified, NULL if no changes in string were made by modifier(s) +* string modified, NULL if error occurred C example: diff --git a/doc/fr/weechat_plugin_api.fr.txt b/doc/fr/weechat_plugin_api.fr.txt index 4b946eee4..bba1234a0 100644 --- a/doc/fr/weechat_plugin_api.fr.txt +++ b/doc/fr/weechat_plugin_api.fr.txt @@ -8772,8 +8772,7 @@ Paramètres : Valeur de retour : -* chaîne modifiée, NULL si aucun changement n'a été fait dans la chaîne par le - ou les "modifieurs" +* chaîne modifiée, NULL en cas d'erreur Exemple en C : diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt index e3f2817e2..5b39c4d78 100644 --- a/doc/it/weechat_plugin_api.it.txt +++ b/doc/it/weechat_plugin_api.it.txt @@ -8682,8 +8682,7 @@ Argomenti: Valore restituito: -* stringa modificata, NULL se nessun cambiamento nella stringa è - stato effettuato dal modificatore(i). +* stringa modificata, NULL in caso di errore Esempio in C: