diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2005-11-21 10:43:39 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2005-11-21 10:43:39 +0000 |
commit | 470e8a029651f69e8d596943ed03af99a3f49f11 (patch) | |
tree | d12bf3f8cfacde61509e05d3c9abcc346796710e /src | |
parent | 9f0aedd3194f5f8f520837f4055125067dafc42d (diff) | |
download | weechat-470e8a029651f69e8d596943ed03af99a3f49f11.zip |
alt-U scrolls to read marker only if read marker is enabled
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/gui-action.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/gui-action.c b/src/gui/gui-action.c index 772a2f359..31779b9e6 100644 --- a/src/gui/gui-action.c +++ b/src/gui/gui-action.c @@ -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) { |