mirror of
https://github.com/ScintillaOrg/lexilla.git
synced 2025-05-09 03:11:32 +08:00
#304 Fix single character argument to StyleContext::MatchIgnoreCase.
This commit is contained in:
parent
4f2ac48363
commit
56dcfd3a6f
@ -54,6 +54,8 @@ bool StyleContext::MatchIgnoreCase(const char *s) {
|
||||
if (MakeLowerCase(ch) != static_cast<unsigned char>(*s))
|
||||
return false;
|
||||
s++;
|
||||
if (!*s)
|
||||
return true;
|
||||
if (MakeLowerCase(chNext) != static_cast<unsigned char>(*s))
|
||||
return false;
|
||||
s++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user