Skip to content

Commit

Permalink
this might fix #5661, needs testing (#5775)
Browse files Browse the repository at this point in the history
  • Loading branch information
red-001 authored and nerzhul committed May 20, 2017
1 parent 673ac55 commit 00972d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chat.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 00972d4

Please sign in to comment.