diff options
author | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2017-06-05 11:41:50 +0200 |
---|---|---|
committer | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2017-06-05 13:46:43 +0200 |
commit | 4edfccfce794d4c10b2a92c02fe982bb089c6629 (patch) | |
tree | 936af89080c7b50d112d2567e5d5574fdfe75d5f /src/fe-text | |
parent | 48899a123d68051fbc73acb8ad151e89fdcb6b31 (diff) | |
download | irssi-4edfccfce794d4c10b2a92c02fe982bb089c6629.zip |
get rid of new_text
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/textbuffer.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/fe-text/textbuffer.c b/src/fe-text/textbuffer.c index eb841096..9e791f4c 100644 --- a/src/fe-text/textbuffer.c +++ b/src/fe-text/textbuffer.c @@ -576,16 +576,13 @@ GList *textbuffer_find_text(TEXT_BUFFER_REC *buffer, LINE_REC *startline, (line->info.level & nolevel) == 0; if (*text != '\0') { - const char *tmp = NULL; textbuffer_line2text(line, FALSE, str); if (line_matched) { line_matched = regexp ? - i_regex_match(preg, str->str, 0, NULL, &tmp) + i_regex_match(preg, str->str, 0, NULL) : match_func(str->str, text) != NULL; } - if (tmp && tmp != str->str) - g_free_not_null((char *)tmp); } if (line_matched) { |