From 128842becf4d93ef333c317b6f999af8c90afe96 Mon Sep 17 00:00:00 2001 From: pecksin <78765996+pecksin@users.noreply.github.com> Date: Sat, 10 Sep 2022 06:21:15 -0400 Subject: Chat weblink: remove comma as delimiter (#12730) --- src/chat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) && -- cgit v1.2.3