mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 12:05:51 -04:00
Remove slash from line wrappable characters
This commit is contained in:
parent
1b6c0900dc
commit
e163baf4dc
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user