Improve type safety, update logging, remove unused paths

This commit is contained in:
Aaron Po
2026-04-18 19:18:21 -04:00
parent 8a6cbe5efd
commit 1b242e86b5
4 changed files with 18 additions and 22 deletions

View File

@@ -41,7 +41,7 @@ static std::string CondenseWhitespace(std::string_view text) {
bool pending_space = false;
for (const char chr : text) {
if (std::isspace(chr) != 0) {
if (std::isspace(static_cast<unsigned char>(chr)) != 0) {
if (!out.empty()) {
pending_space = true;
}