projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
673ac55
)
this might fix #5661, needs testing (#5775)
author
red-001
<red-001@outlook.ie>
Sat, 20 May 2017 08:48:44 +0000
(09:48 +0100)
committer
Loïc Blot
<nerzhul@users.noreply.github.com>
Sat, 20 May 2017 08:48:44 +0000
(10:48 +0200)
src/chat.cpp
patch
|
blob
|
history
diff --git
a/src/chat.cpp
b/src/chat.cpp
index f070e6e7bd2a636e2b34950a0f5180de4a021e8b..fc93e3027aae8c68892cec653c61a6f8701ad072 100644
(file)
--- 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 (is
w
space(line.text.getString()[in_pos + frag_length]))
space_pos = frag_length;
++frag_length;
}