mirror of https://github.com/minetest/minetest.git
Fix typo: wrap is not warp :)
This commit is contained in:
parent
979b4e8be3
commit
22b8b965a1
|
@ -433,7 +433,7 @@ inline std::string wrap_rows(const std::string &from,
|
||||||
if (character_idx > 0 && character_idx % row_len == 0)
|
if (character_idx > 0 && character_idx % row_len == 0)
|
||||||
need_to_wrap = true;
|
need_to_wrap = true;
|
||||||
if (!IS_UTF8_MULTB_INNER(from[i])) {
|
if (!IS_UTF8_MULTB_INNER(from[i])) {
|
||||||
// Warp string if needed before next char started
|
// Wrap string if needed before next char started
|
||||||
if (need_to_wrap) {
|
if (need_to_wrap) {
|
||||||
to += '\n';
|
to += '\n';
|
||||||
need_to_wrap = false;
|
need_to_wrap = false;
|
||||||
|
|
Loading…
Reference in New Issue