diff options
author | nyamatongwe <devnull@localhost> | 2003-03-01 10:19:33 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-03-01 10:19:33 +0000 |
commit | dbbe7f0a373caa6a7ee1a3dc959acb0817e6781d (patch) | |
tree | ac24b0c3e081dd91deda616322d276f8dfab6209 /src | |
parent | 426aebc8f7e143d1c019cf212b818ca29f5a423d (diff) | |
download | scintilla-mirror-dbbe7f0a373caa6a7ee1a3dc959acb0817e6781d.tar.gz |
Fixed DBCS handling.
Diffstat (limited to 'src')
-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 = ' '; |