aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpecksin <78765996+pecksin@users.noreply.github.com>2022-09-10 06:21:15 -0400
committersfan5 <sfan5@live.de>2022-09-14 13:48:06 +0200
commit128842becf4d93ef333c317b6f999af8c90afe96 (patch)
tree420632da09bf9e374620c6e5e5313a7b4b1c9885
parentd51331f51f1144a575f6af4742a6360b22891bbb (diff)
downloadminetest-128842becf4d93ef333c317b6f999af8c90afe96.tar.gz
minetest-128842becf4d93ef333c317b6f999af8c90afe96.tar.bz2
minetest-128842becf4d93ef333c317b6f999af8c90afe96.zip
Chat weblink: remove comma as delimiter (#12730)
-rw-r--r--src/chat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chat.cpp b/src/chat.cpp
index 92df038e8..9483fb96e 100644
--- a/src/chat.cpp
+++ b/src/chat.cpp
@@ -364,7 +364,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) &&