1
0
mirror of https://github.com/irssi/irssi.git synced 2025-01-03 14:56:47 -05:00

Merge pull request #56 from ailin-nemui/line-bookmark

fix crash in Perl's $view->set_bookmark

(cherry picked from commit 95e3fea622)
This commit is contained in:
ailin-nemui 2022-01-14 11:29:25 +01:00 committed by Ailin Nemui
parent c96a8d9fae
commit 3603d47990
2 changed files with 6 additions and 5 deletions

3
NEWS
View File

@ -4,7 +4,8 @@ v1.3.1-an 2021-12-17 Ailin Nemui <Nei>
/UPGRADE (#1357, an#53)
v1.3.0-an 2021-11-11 Ailin Nemui <Nei>
* /SET resolve_reverse_lookup setting was removed (#1135)
* /SET resolve_reverse_lookup setting was removed (#1034,
#1135)
* Irssi will try to connect on IPv4 if IPv6 connection failed
(#1146). By Shivaram Lingamneni

View File

@ -49,14 +49,14 @@ textbuffer_view_scroll_line(view, line)
Irssi::TextUI::TextBufferView view
Irssi::TextUI::Line line
CODE:
textbuffer_view_scroll_line(view, line->line);
textbuffer_view_scroll_line(view, Line(line));
Irssi::TextUI::LineCache
textbuffer_view_get_line_cache(view, line)
Irssi::TextUI::TextBufferView view
Irssi::TextUI::Line line
CODE:
RETVAL = textbuffer_view_get_line_cache(view, line->line);
RETVAL = textbuffer_view_get_line_cache(view, Line(line));
OUTPUT:
RETVAL
@ -65,7 +65,7 @@ textbuffer_view_remove_line(view, line)
Irssi::TextUI::TextBufferView view
Irssi::TextUI::Line line
CODE:
textbuffer_view_remove_line(view, line->line);
textbuffer_view_remove_line(view, Line(line));
void
textbuffer_view_remove_all_lines(view)
@ -82,7 +82,7 @@ textbuffer_view_set_bookmark(view, name, line)
char *name
Irssi::TextUI::Line line
CODE:
textbuffer_view_set_bookmark(view, name, line->line);
textbuffer_view_set_bookmark(view, name, Line(line));
void
textbuffer_view_set_bookmark_bottom(view, name)