Shut up warnings

This commit is contained in:
Gent S
2020-12-13 20:52:59 -05:00
parent 166bfdfc4f
commit 94b7864b02
2 changed files with 2 additions and 2 deletions

View File

@@ -936,7 +936,7 @@ std::string ChatManager::sanitizeText(std::string text, bool allowNewlines) {
if (!allowNewlines && c == '\n')
continue;
if (c >= ' ' && c <= '~' || c == '\n')
if ((c >= ' ' && c <= '~') || c == '\n')
buf[i++] = c;
}
buf[i] = 0;