mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04: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
@ -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…
Reference in New Issue
Block a user