diff options
author | nyamatongwe <unknown> | 2003-03-01 10:19:33 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-03-01 10:19:33 +0000 |
commit | fb05ca58eba5e21f10d8a8910b436caad10ffa6c (patch) | |
tree | ac24b0c3e081dd91deda616322d276f8dfab6209 | |
parent | ee5ec0f2b0ec1d4535232489b4901c3079faa446 (diff) | |
download | scintilla-mirror-fb05ca58eba5e21f10d8a8910b436caad10ffa6c.tar.gz |
Fixed DBCS handling.
-rw-r--r-- | src/StyleContext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StyleContext.h b/src/StyleContext.h index d099520d9..f2f8305c9 100644 --- a/src/StyleContext.h +++ b/src/StyleContext.h @@ -74,7 +74,7 @@ public: if (ch >= 0x100) currentPos++; ch = chNext; - GetNextChar(currentPos); + GetNextChar(currentPos + ((ch >= 0x100) ? 1 : 0)); } else { atLineStart = false; chPrev = ' '; |