diff options
-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 1ee29795..c8354323 100644 --- a/src/fe-common/core/windows.c +++ b/src/fe-common/core/windows.c @@ -273,7 +273,7 @@ static int window_refnum_prev(int refnum) WINDOW_REC *rec = tmp->data; if (rec->refnum < refnum && (max == -1 || rec->refnum > max)) - max = rec->refnum; + prev = rec->refnum; if (max == -1 || rec->refnum > max) max = rec->refnum; } |