Mercurial > vim
comparison src/register.c @ 30986:360f286b5869 v9.0.0828
patch 9.0.0828: various typos
Commit: https://github.com/vim/vim/commit/c57b5bcd22826e0852c2bc9c7d4382e1cac7cb74
Author: dundargoc <gocdundar@gmail.com>
Date: Wed Nov 2 13:30:51 2022 +0000
patch 9.0.0828: various typos
Problem: Various typos.
Solution: Correct typos. (closes https://github.com/vim/vim/issues/11432)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 02 Nov 2022 14:45:11 +0100 |
parents | c33f094d20c1 |
children | b53ab3c3e0c9 |
comparison
equal
deleted
inserted
replaced
30985:25894f29103e | 30986:360f286b5869 |
---|---|
1855 bd.textcol = (colnr_T)(ptr - oldp); | 1855 bd.textcol = (colnr_T)(ptr - oldp); |
1856 clear_chartabsize_arg(&cts); | 1856 clear_chartabsize_arg(&cts); |
1857 | 1857 |
1858 shortline = (vcol < col) || (vcol == col && !*ptr) ; | 1858 shortline = (vcol < col) || (vcol == col && !*ptr) ; |
1859 | 1859 |
1860 if (vcol < col) // line too short, padd with spaces | 1860 if (vcol < col) // line too short, pad with spaces |
1861 bd.startspaces = col - vcol; | 1861 bd.startspaces = col - vcol; |
1862 else if (vcol > col) | 1862 else if (vcol > col) |
1863 { | 1863 { |
1864 bd.endspaces = vcol - col; | 1864 bd.endspaces = vcol - col; |
1865 bd.startspaces = incr - bd.endspaces; | 1865 bd.startspaces = incr - bd.endspaces; |