diff options
author | nyamatongwe <unknown> | 2006-09-01 02:35:49 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2006-09-01 02:35:49 +0000 |
commit | ea49596aed536b2d779eb39c26eb04d9bf156ad8 (patch) | |
tree | 5fba4fbdb8a41b1c8d22239724e43989ed6df095 | |
parent | b4a0d0879c3313a99566176108c181d1d2a230c2 (diff) | |
download | scintilla-mirror-ea49596aed536b2d779eb39c26eb04d9bf156ad8.tar.gz |
Matching now works for single character strings.
-rw-r--r-- | src/StyleContext.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/StyleContext.h b/src/StyleContext.h index 75e187859..a670867ce 100644 --- a/src/StyleContext.h +++ b/src/StyleContext.h @@ -116,6 +116,8 @@ public: if (ch != static_cast<unsigned char>(*s)) return false; s++; + if (!*s) + return true; if (chNext != static_cast<unsigned char>(*s)) return false; s++; |