Merge pull request #490 from lcd047/master

Off by one error
This commit is contained in:
Martin Grenfell 2013-02-06 05:54:00 -08:00
commit 8a8bb39af3

View File

@ -19,7 +19,7 @@ function! SyntaxCheckers_python_pylint_GetLocList()
let n = len(loclist) - 1
while n >= 0
let loclist[n]['type'] = match(['R', 'C', 'W'], loclist[n]['text'][2]) > 0 ? 'W' : 'E'
let loclist[n]['type'] = match(['R', 'C', 'W'], loclist[n]['text'][2]) >= 0 ? 'W' : 'E'
let n -= 1
endwhile