comparison src/ops.c @ 15967:ddd82b1c9e9d v8.1.0989

patch 8.1.0989: various small code ugliness commit https://github.com/vim/vim/commit/bdace838c67c1bd94e55e34270a8325933891466 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 2 10:13:42 2019 +0100 patch 8.1.0989: various small code ugliness Problem: Various small code ugliness. Solution: Remove pointless NULL checks. Fix function calls. Fix typos. (Dominique Pelle, closes #4060)
author Bram Moolenaar <Bram@vim.org>
date Sat, 02 Mar 2019 10:15:06 +0100
parents 734b1928a5aa
children 29de75f53b1a
comparison
equal deleted inserted replaced
15966:04e63da5e0b3 15967:ddd82b1c9e9d
5400 struct block_def bd; 5400 struct block_def bd;
5401 int change_cnt = 0; 5401 int change_cnt = 0;
5402 linenr_T amount = Prenum1; 5402 linenr_T amount = Prenum1;
5403 5403
5404 // do_addsub() might trigger re-evaluation of 'foldexpr' halfway, when the 5404 // do_addsub() might trigger re-evaluation of 'foldexpr' halfway, when the
5405 // buffer is not completly updated yet. Postpone updating folds until before 5405 // buffer is not completely updated yet. Postpone updating folds until before
5406 // the call to changed_lines(). 5406 // the call to changed_lines().
5407 #ifdef FEAT_FOLDING 5407 #ifdef FEAT_FOLDING
5408 disable_fold_update++; 5408 disable_fold_update++;
5409 #endif 5409 #endif
5410 5410