From 00972d42d7ad5873f4ef1f487a6786d6b3dbcc39 Mon Sep 17 00:00:00 2001 From: red-001 Date: Sat, 20 May 2017 09:48:44 +0100 Subject: [PATCH] this might fix #5661, needs testing (#5775) --- src/chat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }