mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
fixed buffer overflow - happened at least when hitting ^A after writing
enough text to input line. usually didn't crash.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2755 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
ea4be04a07
commit
9405dc2ce8
1 changed files with 1 additions and 1 deletions
|
|
@ -376,7 +376,7 @@ static void term_printed_text(int count)
|
|||
vcx += count;
|
||||
while (vcx >= term_width) {
|
||||
vcx -= term_width;
|
||||
if (vcy < term_height) vcy++;
|
||||
if (vcy < term_height-1) vcy++;
|
||||
if (vcx > 0) term_lines_empty[vcy] = FALSE;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue