diff options
author | nyamatongwe <devnull@localhost> | 2010-05-17 02:48:46 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-05-17 02:48:46 +0000 |
commit | 3a47e8beb8707195400b7d44d518a3ca7ec582bd (patch) | |
tree | 15b23e490091f50a587503fcd409ef72ca09b529 /src/LexPerl.cxx | |
parent | b58ecc5340c78b08cbc15d62715001937f321c20 (diff) | |
download | scintilla-mirror-3a47e8beb8707195400b7d44d518a3ca7ec582bd.tar.gz |
Fix debug assertions for bug #3000566.
Diffstat (limited to 'src/LexPerl.cxx')
-rw-r--r-- | src/LexPerl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexPerl.cxx b/src/LexPerl.cxx index 0c6603620..bca78f57c 100644 --- a/src/LexPerl.cxx +++ b/src/LexPerl.cxx @@ -1243,7 +1243,7 @@ static void FoldPerlDoc(unsigned int startPos, int length, int, WordList *[], else if (styler.Match(i, "=head")) isPodHeading = true; } else if (style == SCE_PL_DATASECTION) { - if (ch == '=' && isalpha(chNext) && levelCurrent == SC_FOLDLEVELBASE) + if (ch == '=' && isascii(chNext) && isalpha(chNext) && levelCurrent == SC_FOLDLEVELBASE) levelCurrent++; else if (styler.Match(i, "=cut") && levelCurrent > SC_FOLDLEVELBASE) levelCurrent--; |