mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 11:50:10 +02:00
Revert "record line info on empty lines"
This commit is contained in:
parent
0a0c755b89
commit
631650bd8a
2 changed files with 3 additions and 9 deletions
|
|
@ -355,6 +355,9 @@ LINE_REC *textbuffer_insert(TEXT_BUFFER_REC *buffer, LINE_REC *insert_after,
|
|||
g_return_val_if_fail(buffer != NULL, NULL);
|
||||
g_return_val_if_fail(data != NULL, NULL);
|
||||
|
||||
if (len == 0)
|
||||
return insert_after;
|
||||
|
||||
line = !buffer->last_eol ? insert_after :
|
||||
textbuffer_line_insert(buffer, insert_after);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue