mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
/LAST -before didn't print the separators.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2446 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
fcc61f2382
commit
6eaf161199
@ -518,7 +518,8 @@ GList *textbuffer_find_text(TEXT_BUFFER_REC *buffer, LINE_REC *startline,
|
||||
textbuffer_line_ref(line);
|
||||
matches = g_list_append(matches, line);
|
||||
|
||||
if (!line_matched && --match_after == 0)
|
||||
if ((!line_matched && --match_after == 0) ||
|
||||
(line_matched && match_after == 0 && before > 0))
|
||||
matches = g_list_append(matches, NULL);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user