summaryrefslogtreecommitdiff
path: root/doc/ja
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-07-03 19:45:51 +0200
committerSébastien Helleu <flashcode@flashtux.org>2015-07-03 19:45:51 +0200
commitb13db0305d8fd3ce88c7dbbe62cb1dc1d3033c65 (patch)
tree2a643bd5b5ab8055385ea525725a65042802dce9 /doc/ja
parent3e0ebc82a96bc3c6a6249a682be3bb18a3e5b249 (diff)
downloadweechat-b13db0305d8fd3ce88c7dbbe62cb1dc1d3033c65.zip
api: fix type of value returned by function strcasestr
Diffstat (limited to 'doc/ja')
-rw-r--r--doc/ja/weechat_plugin_api.ja.asciidoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ja/weechat_plugin_api.ja.asciidoc b/doc/ja/weechat_plugin_api.ja.asciidoc
index 66035ba09..cbd7e72fb 100644
--- a/doc/ja/weechat_plugin_api.ja.asciidoc
+++ b/doc/ja/weechat_plugin_api.ja.asciidoc
@@ -767,7 +767,7 @@ int diff = weechat_strcmp_ignore_chars ("a-b", "--a-e", "-", 1); /* == -3 */
[source,C]
----
-char *weechat_strcasestr (const char *string, const char *search);
+const char *weechat_strcasestr (const char *string, const char *search);
----
引数:
@@ -783,7 +783,7 @@ C 言語での使用例:
[source,C]
----
-char *pos = weechat_strcasestr ("aBcDeF", "de"); /* result: pointer to "DeF" */
+const char *pos = weechat_strcasestr ("aBcDeF", "de"); /* result: pointer to "DeF" */
----
[NOTE]