]> git.lizzy.rs Git - minetest.git/commitdiff
this might fix #5661, needs testing (#5775)
authorred-001 <red-001@outlook.ie>
Sat, 20 May 2017 08:48:44 +0000 (09:48 +0100)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Sat, 20 May 2017 08:48:44 +0000 (10:48 +0200)
src/chat.cpp

index f070e6e7bd2a636e2b34950a0f5180de4a021e8b..fc93e3027aae8c68892cec653c61a6f8701ad072 100644 (file)
@@ -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;
                        }