diff options
author | Timo Sirainen <cras@irssi.org> | 2002-11-19 12:02:56 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-11-19 12:02:56 +0000 |
commit | cb21fabb593ca262000b0d268ea1918ca534ff4e (patch) | |
tree | 0447fc7ab791b75b51afaf840445afad78d15567 /src | |
parent | e4accf9c80c961dcc99e08b859271e6c43fbe7b0 (diff) | |
download | irssi-cb21fabb593ca262000b0d268ea1918ca534ff4e.zip |
/SB END: if we're already at the end of buffer don't redraw it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3014 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-text/textbuffer-commands.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fe-text/textbuffer-commands.c b/src/fe-text/textbuffer-commands.c index 61350a3e..92eaaec7 100644 --- a/src/fe-text/textbuffer-commands.c +++ b/src/fe-text/textbuffer-commands.c @@ -232,7 +232,9 @@ static void cmd_scrollback_end(const char *data) TEXT_BUFFER_VIEW_REC *view; view = WINDOW_GUI(active_win)->view; - if (view->bottom_startline == NULL) + if (view->bottom_startline == NULL || + (view->bottom_startline == view->startline && + view->bottom_subline == view->subline)) return; textbuffer_view_scroll_line(view, view->bottom_startline); |