mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-11-15 22:50:11 +00:00
Shut up warnings
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user