mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 08:13:14 +02:00
alt-U scrolls to read marker only if read marker is enabled
This commit is contained in:
@@ -1122,7 +1122,9 @@ gui_action_scroll_next_highlight (t_gui_window *window)
|
||||
void
|
||||
gui_action_scroll_unread (t_gui_window *window)
|
||||
{
|
||||
if (!window->buffer->dcc &&
|
||||
if (cfg_look_read_marker &&
|
||||
cfg_look_read_marker[0] &&
|
||||
!window->buffer->dcc &&
|
||||
window->buffer->last_read_line &&
|
||||
window->buffer->last_read_line != window->buffer->last_line)
|
||||
{
|
||||
|
||||
@@ -1122,7 +1122,9 @@ gui_action_scroll_next_highlight (t_gui_window *window)
|
||||
void
|
||||
gui_action_scroll_unread (t_gui_window *window)
|
||||
{
|
||||
if (!window->buffer->dcc &&
|
||||
if (cfg_look_read_marker &&
|
||||
cfg_look_read_marker[0] &&
|
||||
!window->buffer->dcc &&
|
||||
window->buffer->last_read_line &&
|
||||
window->buffer->last_read_line != window->buffer->last_line)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user