summaryrefslogtreecommitdiff
path: root/src/fe-text/textbuffer.c
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2017-09-08 15:19:40 +0200
committerailin-nemui <ailin-nemui@users.noreply.github.com>2017-09-21 14:20:31 +0200
commit8dfeca57ede1e726de07522a87203ce13676882d (patch)
tree47d7f3e78826c57f8ab9ec86a996e0257647c8f1 /src/fe-text/textbuffer.c
parentbe70fa5eb750ed337a55463c68d5a51b47d1efcd (diff)
downloadirssi-8dfeca57ede1e726de07522a87203ce13676882d.zip
hidden lines
Diffstat (limited to 'src/fe-text/textbuffer.c')
-rw-r--r--src/fe-text/textbuffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-text/textbuffer.c b/src/fe-text/textbuffer.c
index a920fab2..01cdd118 100644
--- a/src/fe-text/textbuffer.c
+++ b/src/fe-text/textbuffer.c
@@ -230,6 +230,7 @@ LINE_REC *textbuffer_line_last(TEXT_BUFFER_REC *buffer)
return buffer->cur_line;
}
+/* returns TRUE if `search' comes on or after `line' in the buffer */
int textbuffer_line_exists_after(LINE_REC *line, LINE_REC *search)
{
while (line != NULL) {