diff options
author | red-001 <red-001@outlook.ie> | 2017-05-20 09:48:44 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-05-20 10:48:44 +0200 |
commit | 00972d42d7ad5873f4ef1f487a6786d6b3dbcc39 (patch) | |
tree | c939aa7bb9015aef0d67caf0c68cc250e076aac5 /src | |
parent | 673ac55a9db4728a6817e284196e7acdd8f3daaf (diff) | |
download | minetest-00972d42d7ad5873f4ef1f487a6786d6b3dbcc39.tar.gz minetest-00972d42d7ad5873f4ef1f487a6786d6b3dbcc39.tar.bz2 minetest-00972d42d7ad5873f4ef1f487a6786d6b3dbcc39.zip |
this might fix #5661, needs testing (#5775)
Diffstat (limited to 'src')
-rw-r--r-- | src/chat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chat.cpp b/src/chat.cpp index f070e6e7b..fc93e3027 100644 --- a/src/chat.cpp +++ b/src/chat.cpp @@ -331,7 +331,7 @@ u32 ChatBuffer::formatChatLine(const ChatLine& line, u32 cols, while (frag_length < remaining_in_input && frag_length < remaining_in_output) { - if (isspace(line.text.getString()[in_pos + frag_length])) + if (iswspace(line.text.getString()[in_pos + frag_length])) space_pos = frag_length; ++frag_length; } |