summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorred-001 <red-001@outlook.ie>2017-06-06 16:02:44 +0100
committerSmallJoker <mk939@ymail.com>2018-06-03 17:31:59 +0200
commite665e75e778d59c1ff8d55bd435f6ec3d7b3e2a3 (patch)
treecfbed29a752138c72517066a1d6c7941707d041b /doc/lua_api.txt
parentcba783f7faf517cb747177b2854567de5604c65d (diff)
downloadminetest-e665e75e778d59c1ff8d55bd435f6ec3d7b3e2a3.tar.gz
minetest-e665e75e778d59c1ff8d55bd435f6ec3d7b3e2a3.tar.bz2
minetest-e665e75e778d59c1ff8d55bd435f6ec3d7b3e2a3.zip
Fix typos/mistakes in the documentation for colour related functions. (#5936)
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt8
1 files changed, 4 insertions, 4 deletions
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