vi: some simplifications
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 5 Apr 2014 20:57:46 +0000 (22:57 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 5 Apr 2014 20:57:46 +0000 (22:57 +0200)
commit32afd3aa6039b911816a68972b2366095cb777de
tree0012b72050ed4be21829148bf6cc51fcf3db9d26
parente7430867a8ad61bbea20d05fc2f9fc5094e211dc
vi: some simplifications

function                                             old     new   delta
file_insert                                          301     315     +14
init_text_buffer                                     179     171      -8
colon                                               2889    2878     -11
file_size                                             37       -     -37
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 1/2 up/down: 14/-56)            Total: -42 bytes

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