hexedit: smarter redraw
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 13 Sep 2017 19:38:55 +0000 (21:38 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 13 Sep 2017 19:38:55 +0000 (21:38 +0200)
commit136946c3ea6a14d391b5045b5eb71fa8ec207077
tree948d12db4fa4865f5870fb8782af98a06147d359
parent73af705628ddaedc4c6f7f78b9658d6c01310309
hexedit: smarter redraw

function                                             old     new   delta
format_line                                          197     209     +12
hexedit_main                                         930     924      -6
redraw_cur_line                                      104      94     -10
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 12/-16)             Total: -4 bytes

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