vi: revert change in how "end of file list" is deteced - fixes 'q' in bare "vi"
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 3 Apr 2019 14:35:23 +0000 (16:35 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 3 Apr 2019 14:35:23 +0000 (16:35 +0200)
commita3ce161363380899ae45716c70714cfcc93a7755
tree81cc4fe0bd0e1ece8b86164d4ea76e9211970cf7
parente1a1b64f433661188d9e5591f2137860dab0c18a
vi: revert change in how "end of file list" is deteced - fixes 'q' in bare "vi"

function                                             old     new   delta
vi_main                                              273     272      -1
colon                                               2853    2852      -1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-2)               Total: -2 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
editors/vi.c