Mercurial > vim
comparison src/evalfunc.c @ 14368:e78ce11f310b v8.1.0199
patch 8.1.0199: spellbadword() does not check for caps error
commit https://github.com/vim/vim/commit/66ab916935585391b2efaa8e39075e1ef94717b1
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 20 20:28:48 2018 +0200
patch 8.1.0199: spellbadword() does not check for caps error
Problem: spellbadword() does not check for caps error. (Dominique Pelle)
Solution: Adjust capcol when advancing.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 20 Jul 2018 20:30:05 +0200 |
parents | 7589f103ec11 |
children | e5d7dd985b53 |
comparison
equal
deleted
inserted
replaced
14367:ce0cc90c253e | 14368:e78ce11f310b |
---|---|
11637 { | 11637 { |
11638 word = str; | 11638 word = str; |
11639 break; | 11639 break; |
11640 } | 11640 } |
11641 str += len; | 11641 str += len; |
11642 capcol -= len; | |
11642 } | 11643 } |
11643 } | 11644 } |
11644 } | 11645 } |
11645 #endif | 11646 #endif |
11646 | 11647 |