diff options
author | Timo Sirainen <cras@irssi.org> | 2000-05-10 10:00:01 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-05-10 10:00:01 +0000 |
commit | 240df09c4573cca520a3074138e74ee2999778f2 (patch) | |
tree | d7d8143555990825e24da5be602cfd00b8a8bec6 /src/fe-common | |
parent | 36421bb11b8c03bf273592c70c8cbab7e4f58620 (diff) | |
download | irssi-240df09c4573cca520a3074138e74ee2999778f2.zip |
A few more bugfixes to make /window prev work.. :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@206 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r-- | src/fe-common/core/windows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/windows.c b/src/fe-common/core/windows.c index c8354323..bbe6a740 100644 --- a/src/fe-common/core/windows.c +++ b/src/fe-common/core/windows.c @@ -272,7 +272,7 @@ static int window_refnum_prev(int refnum) for (tmp = windows; tmp != NULL; tmp = tmp->next) { WINDOW_REC *rec = tmp->data; - if (rec->refnum < refnum && (max == -1 || rec->refnum > max)) + if (rec->refnum < refnum && (prev == -1 || rec->refnum > prev)) prev = rec->refnum; if (max == -1 || rec->refnum > max) max = rec->refnum; |