From 4b6eac3172cf9074f7ad579d4a6aa5096b429f2e Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 19 Oct 2012 14:31:21 +0200 Subject: [PATCH] doc: fix typo in example of hdata_get_string (plugin API reference) --- 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 fbdc7f74b..b4784dfa8 100644 --- a/doc/en/weechat_plugin_api.en.txt +++ b/doc/en/weechat_plugin_api.en.txt @@ -14067,8 +14067,8 @@ C example: [source,C] ---------------------------------------- -weechat_printf (NULL, "variables in hdata: %s" weechat_hdata_get_string (hdata, "var_keys")); -weechat_printf (NULL, "lists in hdata: %s" weechat_hdata_get_string (hdata, "list_keys")); +weechat_printf (NULL, "variables in hdata: %s", weechat_hdata_get_string (hdata, "var_keys")); +weechat_printf (NULL, "lists in hdata: %s", weechat_hdata_get_string (hdata, "list_keys")); ---------------------------------------- Script (Python): diff --git a/doc/fr/weechat_plugin_api.fr.txt b/doc/fr/weechat_plugin_api.fr.txt index 38025ce8f..c042dc0ae 100644 --- a/doc/fr/weechat_plugin_api.fr.txt +++ b/doc/fr/weechat_plugin_api.fr.txt @@ -14311,8 +14311,8 @@ Exemple en C : [source,C] ---------------------------------------- -weechat_printf (NULL, "variables dans le hdata: %s" weechat_hdata_get_string (hdata, "var_keys")); -weechat_printf (NULL, "listes dans le hdata: %s" weechat_hdata_get_string (hdata, "list_keys")); +weechat_printf (NULL, "variables dans le hdata: %s", weechat_hdata_get_string (hdata, "var_keys")); +weechat_printf (NULL, "listes dans le hdata: %s", weechat_hdata_get_string (hdata, "list_keys")); ---------------------------------------- Script (Python) : diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt index 3afa8a148..07f9c2288 100644 --- a/doc/it/weechat_plugin_api.it.txt +++ b/doc/it/weechat_plugin_api.it.txt @@ -14249,8 +14249,8 @@ Esempio in C: [source,C] ---------------------------------------- -weechat_printf (NULL, "variables in hdata: %s" weechat_hdata_get_string (hdata, "var_keys")); -weechat_printf (NULL, "lists in hdata: %s" weechat_hdata_get_string (hdata, "list_keys")); +weechat_printf (NULL, "variables in hdata: %s", weechat_hdata_get_string (hdata, "var_keys")); +weechat_printf (NULL, "lists in hdata: %s", weechat_hdata_get_string (hdata, "list_keys")); ---------------------------------------- Script (Python):