diff options
author | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2018-04-16 16:19:54 +0200 |
---|---|---|
committer | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2018-04-16 16:22:04 +0200 |
commit | 34b31e8451829e7b515a60cf12183203a059d1c4 (patch) | |
tree | a1f56d68de1b28e766f0fd9a681df4f59f353f2d /src/fe-text/textbuffer.c | |
parent | 68302f2d1fb1908ccac56b50ddf70abdb02f9aa5 (diff) | |
download | irssi-34b31e8451829e7b515a60cf12183203a059d1c4.zip |
record line info on empty lines
Diffstat (limited to 'src/fe-text/textbuffer.c')
-rw-r--r-- | src/fe-text/textbuffer.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/fe-text/textbuffer.c b/src/fe-text/textbuffer.c index 01cdd118..9e1ace96 100644 --- a/src/fe-text/textbuffer.c +++ b/src/fe-text/textbuffer.c @@ -355,9 +355,6 @@ 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); |