diff options
author | red-001 <red-001@outlook.ie> | 2017-06-06 16:02:44 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-06-06 17:02:44 +0200 |
commit | 33b513f76cc17629a7cba47ed52db6e382f068ee (patch) | |
tree | a85055c29a80c36bdc1b05c45519a7176cb0d1ca | |
parent | d4c0f91275fe70fef73b316c36abfb989dfd55b1 (diff) | |
download | minetest-33b513f76cc17629a7cba47ed52db6e382f068ee.tar.gz minetest-33b513f76cc17629a7cba47ed52db6e382f068ee.tar.bz2 minetest-33b513f76cc17629a7cba47ed52db6e382f068ee.zip |
Fix typos/mistakes in the documentation for colour related functions. (#5936)
-rw-r--r-- | doc/client_lua_api.md | 8 | ||||
-rw-r--r-- | doc/lua_api.txt | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/doc/client_lua_api.md b/doc/client_lua_api.md index b3e494cc1..ab72bbccf 100644 --- a/doc/client_lua_api.md +++ b/doc/client_lua_api.md @@ -1117,15 +1117,15 @@ The following functions provide escape sequences: `minetest.get_color_escape_sequence(color) .. message .. minetest.get_color_escape_sequence("#ffffff")` -* `color.get_background_escape_sequence(color)` +* `minetest.get_background_escape_sequence(color)` * `color` is a [ColorString](#colorstring) * The escape sequence sets the background of the whole text element to `color`. Only defined for item descriptions and tooltips. -* `color.strip_foreground_colors(str)` +* `minetest.strip_foreground_colors(str)` * Removes foreground colors added by `get_color_escape_sequence`. -* `color.strip_background_colors(str)` +* `minetest.strip_background_colors(str)` * Removes background colors added by `get_background_escape_sequence`. -* `color.strip_colors(str)` +* `minetest.strip_colors(str)` * Removes all color escape sequences. `ColorString` diff --git a/doc/lua_api.txt b/doc/lua_api.txt index ae8263c6c..f3d3b1bca 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2060,15 +2060,15 @@ The following functions provide escape sequences: `minetest.get_color_escape_sequence(color) .. message .. minetest.get_color_escape_sequence("#ffffff")` -* `color.get_background_escape_sequence(color)` +* `minetest.get_background_escape_sequence(color)` * `color` is a ColorString * The escape sequence sets the background of the whole text element to `color`. Only defined for item descriptions and tooltips. -* `color.strip_foreground_colors(str)` +* `minetest.strip_foreground_colors(str)` * Removes foreground colors added by `get_color_escape_sequence`. -* `color.strip_background_colors(str)` +* `minetest.strip_background_colors(str)` * Removes background colors added by `get_background_escape_sequence`. -* `color.strip_colors(str)` +* `minetest.strip_colors(str)` * Removes all color escape sequences. Spatial Vectors |