From: red-001 Date: Sat, 20 May 2017 08:48:44 +0000 (+0100) Subject: this might fix #5661, needs testing (#5775) X-Git-Tag: 0.4.16~98 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=00972d42d7ad5873f4ef1f487a6786d6b3dbcc39;p=oweals%2Fminetest.git this might fix #5661, needs testing (#5775) --- 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; }