mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-14 07:19:19 +03:00
Layout change for better readability.
This commit is contained in:
parent
0deeec756e
commit
03d2e06c41
@ -372,8 +372,8 @@ view_growbuf_filesize (WView *view)
|
|||||||
if (view->growbuf_blocks == 0)
|
if (view->growbuf_blocks == 0)
|
||||||
return 0;
|
return 0;
|
||||||
else
|
else
|
||||||
return ((offset_type) view->growbuf_blocks - 1)
|
return ((offset_type) view->growbuf_blocks - 1) * VIEW_PAGE_SIZE
|
||||||
* VIEW_PAGE_SIZE + view->growbuf_lastindex;
|
+ view->growbuf_lastindex;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Copies the output from the pipe to the growing buffer, until either
|
/* Copies the output from the pipe to the growing buffer, until either
|
||||||
|
Loading…
Reference in New Issue
Block a user