diff options
author | pecksin <78765996+pecksin@users.noreply.github.com> | 2022-09-10 06:21:15 -0400 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-09-14 13:48:06 +0200 |
commit | 128842becf4d93ef333c317b6f999af8c90afe96 (patch) | |
tree | 420632da09bf9e374620c6e5e5313a7b4b1c9885 /src/chat.cpp | |
parent | d51331f51f1144a575f6af4742a6360b22891bbb (diff) | |
download | minetest-128842becf4d93ef333c317b6f999af8c90afe96.tar.gz minetest-128842becf4d93ef333c317b6f999af8c90afe96.tar.bz2 minetest-128842becf4d93ef333c317b6f999af8c90afe96.zip |
Chat weblink: remove comma as delimiter (#12730)
Diffstat (limited to 'src/chat.cpp')
-rw-r--r-- | src/chat.cpp | 2 |
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) && |