diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-06-23 21:34:41 -0700 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-06-23 21:34:41 -0700 |
| commit | 874d317334fae1ddce316f9b6f4d0ce4e434bf52 (patch) | |
| tree | 929f924d3c3696d3aa9917aca0e7048bbe3e93e8 /ex_vwind.c | |
| parent | 15bd7946cc838a3151c357e4b0bc1ab85eecda62 (diff) | |
heirloom vi fixes from arch AUR
Diffstat (limited to 'ex_vwind.c')
| -rw-r--r-- | ex_vwind.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -453,7 +453,7 @@ vrollR(register int cnt) /* * Go into cooked mode (allow interrupts) during * a scroll if we are at less than 1200 baud and not - * a 'vi' command, of if we are in a 'vi' command and the + * a 'vi' command, or if we are in a 'vi' command and the * scroll is more than 2 full screens. * * BUG: An interrupt during a scroll in this way @@ -463,7 +463,7 @@ int vcookit(register int cnt) { - return (cnt > 1 && (ospeed < B1200 && !initev || cnt > TLINES * 2)); + return (cnt > 1 && ((ospeed < B1200 && !initev) || cnt > TLINES * 2)); } /* |
