mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-04 19:00:50 +02:00
commit bash-20190920 snapshot
This commit is contained in:
@@ -605,7 +605,9 @@ static void
|
||||
init_line_structures (int minsize)
|
||||
{
|
||||
register int n;
|
||||
int osize;
|
||||
|
||||
osize = minsize;
|
||||
if (minsize <= _rl_screenwidth) /* XXX - for gdb */
|
||||
minsize = _rl_screenwidth + 1;
|
||||
|
||||
@@ -625,7 +627,7 @@ init_line_structures (int minsize)
|
||||
invisible_line = (char *)xrealloc (invisible_line, line_size);
|
||||
}
|
||||
|
||||
for (n = minsize; n < line_size; n++)
|
||||
for (n = osize; n < line_size; n++)
|
||||
{
|
||||
visible_line[n] = 0;
|
||||
invisible_line[n] = 1;
|
||||
|
||||
Reference in New Issue
Block a user