[patch] mcview improvements
Roland Illig
roland.illig at gmx.de
Sat Apr 9 11:54:46 UTC 2005
Hi all,
I have prepared another patch for mcview.
User-visible changes:
* the percentage is only shown when the file size is known.
* in case of growing buffers, the file size is shown as
">= %s bytes".
Internal changes:
* the variable view->last_byte has been replaced by
view_get_filesize(), to avoid the need of updating the
view->last_byte in too many places.
* After reading them in, the file handles for the growing
buffer data sources are closed properly.
* move_forward2 has been renamed to view_move_forward2,
because I wasn't able to set a breakpoint on it. (There's
a function of the same name in src/help.c.)
* The algorithm for move_forward2 has been replaced by a
much shorter and simpler one.
* Many small details.
Roland
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mcview.patch.gz
Type: application/x-gzip
Size: 5481 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20050409/66439753/attachment.bin>
More information about the mc-devel
mailing list