aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/StyleContext.h2
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 = ' ';