Skip to content

Commit 63bcd33

Browse files
p-ouelletteSmallJoker
authored andcommittedFeb 18, 2018
Lua API documentation: Fix spelling (#7046)
1 parent 3f2e0c1 commit 63bcd33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎doc/lua_api.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -2326,7 +2326,7 @@ Helper functions
23262326
* `sep_is_pattern`: boolean, it specifies whether separator is a plain
23272327
string or a pattern (regex), default: `false`
23282328
* e.g. `"a,b":split","` returns `{"a","b"}`
2329-
* `string:trim()`: returns the string whithout whitespace pre- and suffixes
2329+
* `string:trim()`: returns the string without whitespace pre- and suffixes
23302330
* e.g. `"\n \t\tfoo bar\t ":trim()` returns `"foo bar"`
23312331
* `minetest.wrap_text(str, limit, as_table)`: returns a string or table
23322332
* Adds newlines to the string to keep it within the specified character
@@ -3407,7 +3407,7 @@ These functions return the leftover itemstack.
34073407
* `minetest.decode_base64(string)`: returns string
34083408
* Decodes a string encoded in base64.
34093409
* `minetest.is_protected(pos, name)`: returns boolean
3410-
* Returns true, if player `name` shouldn't be abled to dig at `pos` or do other
3410+
* Returns true, if player `name` shouldn't be able to dig at `pos` or do other
34113411
actions, definable by mods, due to some mod-defined ownership-like concept.
34123412
Returns false or nil, if the player is allowed to do such actions.
34133413
* `name` will be "" for non-players or unknown players.

0 commit comments

Comments
 (0)
Please sign in to comment.