mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-11 04:52:21 +02:00
Fixed isalpha signed issue
This commit is contained in:
parent
f2516b7ab8
commit
8d0f70588f
1 changed files with 1 additions and 1 deletions
|
@ -407,7 +407,7 @@ void BfPrinter::WriteIgnoredNode(BfAstNode* node)
|
||||||
}
|
}
|
||||||
else if (c == ' ')
|
else if (c == ' ')
|
||||||
{
|
{
|
||||||
if ((isalpha(src[i - 1])) && (isalpha(src[i + 1])))
|
if ((isalpha((uint8)src[i - 1])) && (isalpha((uint8)src[i + 1])))
|
||||||
spacedWordCount++;
|
spacedWordCount++;
|
||||||
}
|
}
|
||||||
else if ((c == '/') && (src[i - 1] == '/') && (hadNonSlash))
|
else if ((c == '/') && (src[i - 1] == '/') && (hadNonSlash))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue