From 7f38038656650505d5a04a7f7ae335a1fbf8f0a7 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 17 May 2010 02:48:46 +0000 Subject: Fix debug assertions for bug #3000566. --- src/LexMPT.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LexMPT.cxx') 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; } -- cgit v1.2.3