aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexMPT.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/LexMPT.cxx')
-rw-r--r--src/LexMPT.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexMPT.cxx b/src/LexMPT.cxx
index b0099ff86..a69fe5464 100644
--- a/src/LexMPT.cxx
+++ b/src/LexMPT.cxx
@@ -32,7 +32,7 @@ static int GetLotLineState(std::string &line) {
// Now finds the first non-blank character
unsigned i; // Declares counter here to make it persistent after the for loop
for (i = 0; i < line.length(); ++i) {
- if (!isspace(line[i]))
+ if (!(isascii(line[i]) && isspace(line[i])))
break;
}