Mercurial > vim
comparison src/window.c @ 26771:fc859aea8cec v8.2.3914
patch 8.2.3914: various spelling mistakes in comments
Commit: https://github.com/vim/vim/commit/af4a61a85d6e8cacc35324f266934bc463a21673
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Mon Dec 27 17:21:41 2021 +0000
patch 8.2.3914: various spelling mistakes in comments
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pell?, closes https://github.com/vim/vim/issues/9416)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 27 Dec 2021 18:30:05 +0100 |
parents | fac6673086df |
children | bce848ec8b1b |
comparison
equal
deleted
inserted
replaced
26770:15ff3f2e0d58 | 26771:fc859aea8cec |
---|---|
1553 int maxcount; | 1553 int maxcount; |
1554 int todo; | 1554 int todo; |
1555 | 1555 |
1556 if (vertical) | 1556 if (vertical) |
1557 { | 1557 { |
1558 // Each windows needs at least 'winminwidth' lines and a separator | 1558 // Each window needs at least 'winminwidth' lines and a separator |
1559 // column. | 1559 // column. |
1560 maxcount = (curwin->w_width + curwin->w_vsep_width | 1560 maxcount = (curwin->w_width + curwin->w_vsep_width |
1561 - (p_wiw - p_wmw)) / (p_wmw + 1); | 1561 - (p_wiw - p_wmw)) / (p_wmw + 1); |
1562 } | 1562 } |
1563 else | 1563 else |
2107 */ | 2107 */ |
2108 m = frame_minheight(topfr, next_curwin); | 2108 m = frame_minheight(topfr, next_curwin); |
2109 room = height - m; | 2109 room = height - m; |
2110 if (room < 0) | 2110 if (room < 0) |
2111 { | 2111 { |
2112 // The room is less then 'winheight', use all space for the | 2112 // The room is less than 'winheight', use all space for the |
2113 // current window. | 2113 // current window. |
2114 next_curwin_size = p_wh + room; | 2114 next_curwin_size = p_wh + room; |
2115 room = 0; | 2115 room = 0; |
2116 } | 2116 } |
2117 else | 2117 else |