From e163baf4dc24dac7154705eab1dcfedb42c07585 Mon Sep 17 00:00:00 2001 From: Goodlyay Date: Sat, 4 May 2024 23:37:12 -0700 Subject: [PATCH] Remove slash from line wrappable characters --- MCGalaxy/Chat/LineWrapper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MCGalaxy/Chat/LineWrapper.cs b/MCGalaxy/Chat/LineWrapper.cs index c78353c02..74c13c811 100644 --- a/MCGalaxy/Chat/LineWrapper.cs +++ b/MCGalaxy/Chat/LineWrapper.cs @@ -57,7 +57,7 @@ namespace MCGalaxy { // For e.g. "item1/item2/item3", want to wordwrap on the '/' // However for "item1 /command", want to wordwrap BEFORE '/' // TODO: This probably needs to account for colour codes - return (c == '-' || c == '/' || c == '\\') && line[i - 1] != ' '; + return (c == '-' || c == '\\') && line[i - 1] != ' '; } static bool StartsWithColor(char[] message, int messageLen, int offset) {