diff options
author | Timo Sirainen <cras@irssi.org> | 2001-05-11 13:08:47 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-05-11 13:08:47 +0000 |
commit | 912cf63c076a5935212aea28a0e27d4da4e15273 (patch) | |
tree | 5894f1887bb981ce6ef55b2a6c9f95bff4e74c4e /src | |
parent | 1cc3891821743a8a06ad11228ecd93d5bf84fd7d (diff) | |
download | irssi-912cf63c076a5935212aea28a0e27d4da4e15273.zip |
resizing terminal with /CLEARed empty windows scrolled those windows so that
the last screenful of text was visible again.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1474 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-text/textbuffer-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/textbuffer-view.c b/src/fe-text/textbuffer-view.c index 917b231c..99b0c210 100644 --- a/src/fe-text/textbuffer-view.c +++ b/src/fe-text/textbuffer-view.c @@ -36,7 +36,7 @@ static int linecache_tag; static GSList *views; #define view_is_bottom(view) \ - ((view)->ypos >= 0 && (view)->ypos < (view)->height) + ((view)->ypos >= -1 && (view)->ypos < (view)->height) #define view_get_linecount(view, line) \ textbuffer_view_get_line_cache(view, line)->count |