diff options
| author | nyamatongwe <unknown> | 2010-05-17 02:48:46 +0000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2010-05-17 02:48:46 +0000 |
| commit | 7f38038656650505d5a04a7f7ae335a1fbf8f0a7 (patch) | |
| tree | 15b23e490091f50a587503fcd409ef72ca09b529 /src/LexMPT.cxx | |
| parent | 74d92c0f19f84c9f1f5f9e87130c89484db155f6 (diff) | |
| download | scintilla-mirror-7f38038656650505d5a04a7f7ae335a1fbf8f0a7.tar.gz | |
Fix debug assertions for bug #3000566.
Diffstat (limited to 'src/LexMPT.cxx')
| -rw-r--r-- | src/LexMPT.cxx | 2 |
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; } |
