Commit 110b36a0 authored by Carlos Alves's avatar Carlos Alves Committed by Tomaz Canabrava
Browse files

Missing to set property for the new line

It didn't crash or bug, but to be sure it won't.
parent 6bf62a2a
......@@ -464,6 +464,7 @@ void Screen::resizeImage(int new_lines, int new_columns)
_history->setCellsAt(currentPos, curr_line, new_columns);
_history->setLineAt(currentPos, true);
_history->insertCells(currentPos + 1, curr_line + new_columns, curr_linelen - new_columns);
_history->setLineAt(currentPos + 1, false);
}
currentPos++;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment