diff options
author | Timo Sirainen <cras@irssi.org> | 2000-06-02 00:27:57 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-06-02 00:27:57 +0000 |
commit | 397def0d3c522e649d1ed8b93a1e92dcc515fd9b (patch) | |
tree | ebe0d1df2dc1a3676a96ea2a12a1669a07d1bddd /src | |
parent | f3e4224748351e0f69e06bdb045f442c0736f156 (diff) | |
download | irssi-397def0d3c522e649d1ed8b93a1e92dcc515fd9b.zip |
if you were at the top of the scrollback buffer and the first line line
was removed from buffer, ypos was updated wrong and it messed up some things.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@271 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-text/gui-printtext.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-text/gui-printtext.c b/src/fe-text/gui-printtext.c index 366a1a89..c53e4674 100644 --- a/src/fe-text/gui-printtext.c +++ b/src/fe-text/gui-printtext.c @@ -118,6 +118,7 @@ static void remove_first_line(WINDOW_REC *window) /* first line in screen removed */ gui->startline = gui->startline->next; gui->subline = 0; + gui->ypos--; } if (gui->bottom_startline->prev == NULL) { /* bottom line removed (shouldn't happen?) */ |