diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-01-15 16:45:17 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-01-15 16:45:17 +0100 |
commit | 22cb023254090df94e4f6aa30388d49a438c6d40 (patch) | |
tree | 0f7fea12ce05913ad1e79cf544222a475034f83d /doc/en | |
parent | 4b7e90c679428a418ea8c0656b0fef59e3c2e3a7 (diff) | |
download | weechat-22cb023254090df94e4f6aa30388d49a438c6d40.zip |
doc: fix errors in prototype and example of functions tolower/toupper (plugin API reference)
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/weechat_plugin_api.en.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt index 523d68cf3..16bc7355f 100644 --- a/doc/en/weechat_plugin_api.en.txt +++ b/doc/en/weechat_plugin_api.en.txt @@ -496,7 +496,7 @@ Prototype: [source,C] ---- -void weechat_string_tolower (const char *string); +void weechat_string_tolower (char *string); ---- Arguments: @@ -507,7 +507,7 @@ C example: [source,C] ---- -char *str = "AbCdé"; +char str[] = "AbCdé"; weechat_string_tolower (str); /* str is now: "abcdé" */ ---- @@ -522,7 +522,7 @@ Prototype: [source,C] ---- -void weechat_string_toupper (const char *string); +void weechat_string_toupper (char *string); ---- Arguments: @@ -533,7 +533,7 @@ C example: [source,C] ---- -char *str = "AbCdé"; +char str[] = "AbCdé"; weechat_string_toupper (str); /* str is now: "ABCDé" */ ---- |