diff options
| author | mitchell <unknown> | 2020-03-29 20:22:27 -0400 | 
|---|---|---|
| committer | mitchell <unknown> | 2020-03-29 20:22:27 -0400 | 
| commit | 90cbc76c97e7be7344d2e71ef76e221ba4108387 (patch) | |
| tree | d395928637e455ad4ffec7fbf0954f34bfb125e0 /lexers/LexLPeg.cxx | |
| parent | d8dfede4dc16846dd15ceeafa79a51c446d7f84e (diff) | |
| download | scintilla-mirror-90cbc76c97e7be7344d2e71ef76e221ba4108387.tar.gz | |
Forgot a 0-to-1 conversion in r8093.
Diffstat (limited to 'lexers/LexLPeg.cxx')
| -rw-r--r-- | lexers/LexLPeg.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lexers/LexLPeg.cxx b/lexers/LexLPeg.cxx index c73c2d3db..a34b10fda 100644 --- a/lexers/LexLPeg.cxx +++ b/lexers/LexLPeg.cxx @@ -678,7 +678,7 @@ public:      lua_pushcfunction(L, lua_error_handler), lua_insert(L, -2);      lua_pushvalue(L, -3);      lua_pushlstring(L, buffer->BufferPointer() + startPos, lengthDoc); -    lua_pushinteger(L, styler.StyleAt(startPos)); +    lua_pushinteger(L, styler.StyleAt(startPos) + 1);      if (lua_pcall(L, 3, 1, -5) != LUA_OK) return LogError(L);      if (!lua_istable(L, -1))        return LogError(L, "Table of tokens expected from 'lexer.lex'"); | 
