aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpecksin <78765996+pecksin@users.noreply.github.com>2021-08-29 13:14:06 -0400
committersfan5 <sfan5@live.de>2021-08-29 19:30:33 +0200
commit040aed37abcc929137fb9729f2526d6a15d2d51a (patch)
tree4113a5993a5b948dd6a243195a6bfd6f0eecf543
parent6a1424f2b18520f40ba8cfd12f7988f6b33db9a6 (diff)
downloadminetest-040aed37abcc929137fb9729f2526d6a15d2d51a.tar.gz
minetest-040aed37abcc929137fb9729f2526d6a15d2d51a.tar.bz2
minetest-040aed37abcc929137fb9729f2526d6a15d2d51a.zip
Remove closing paren as weblink delimiter
-rw-r--r--src/chat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chat.cpp b/src/chat.cpp
index e44d73ac0..162622abe 100644
--- a/src/chat.cpp
+++ b/src/chat.cpp
@@ -366,7 +366,7 @@ u32 ChatBuffer::formatChatLine(const ChatLine& line, u32 cols,
// Chars to mark end of weblink
// TODO? replace this with a safer (slower) regex whitelist?
- static const std::wstring delim_chars = L"\'\");,";
+ static const std::wstring delim_chars = L"\'\";,";
wchar_t tempchar = linestring[in_pos+frag_length];
while (frag_length < remaining_in_input &&
!iswspace(tempchar) &&