mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-06-01 01:54:00 +00:00
Improve type safety, update logging, remove unused paths
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user