mirror of
https://github.com/rfivet/uemacs.git
synced 2024-11-17 18:16:22 -05:00
Fix: list-buffers sizes reported wrong sizes as it used curbp to access EOL flags in buffer mode.
This commit is contained in:
parent
6dfc2f057e
commit
1adae6bead
2
buffer.c
2
buffer.c
@ -389,7 +389,7 @@ static int makelist( int iflag)
|
|||||||
lp = lforw(lp);
|
lp = lforw(lp);
|
||||||
}
|
}
|
||||||
|
|
||||||
if( curbp->b_mode & MDDOS)
|
if( bp->b_mode & MDDOS)
|
||||||
nbytes += nlines ;
|
nbytes += nlines ;
|
||||||
|
|
||||||
l_to_a( b, sizeof b, nbytes) ; /* 8 digits string buffer size. */
|
l_to_a( b, sizeof b, nbytes) ; /* 8 digits string buffer size. */
|
||||||
|
Loading…
Reference in New Issue
Block a user