1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-18 23:36:23 -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:
Renaud 2015-05-06 09:11:23 +08:00
parent 6dfc2f057e
commit 1adae6bead

View File

@ -389,7 +389,7 @@ static int makelist( int iflag)
lp = lforw(lp);
}
if( curbp->b_mode & MDDOS)
if( bp->b_mode & MDDOS)
nbytes += nlines ;
l_to_a( b, sizeof b, nbytes) ; /* 8 digits string buffer size. */