diff options
author | pecksin <78765996+pecksin@users.noreply.github.com> | 2021-08-29 13:14:06 -0400 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2021-08-29 19:30:33 +0200 |
commit | 040aed37abcc929137fb9729f2526d6a15d2d51a (patch) | |
tree | 4113a5993a5b948dd6a243195a6bfd6f0eecf543 /src | |
parent | 6a1424f2b18520f40ba8cfd12f7988f6b33db9a6 (diff) | |
download | minetest-040aed37abcc929137fb9729f2526d6a15d2d51a.tar.gz minetest-040aed37abcc929137fb9729f2526d6a15d2d51a.tar.bz2 minetest-040aed37abcc929137fb9729f2526d6a15d2d51a.zip |
Remove closing paren as weblink delimiter
Diffstat (limited to 'src')
-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 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) && |