From 88d4cf6e94980d6e44a0a55c84b3d2b7296b6f9a Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 28 Aug 2013 21:45:46 +0100 Subject: Fixed test for requiring window tidy --- src/ui/windows.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/windows.c b/src/ui/windows.c index 0cd53c55..59563a79 100644 --- a/src/ui/windows.c +++ b/src/ui/windows.c @@ -319,8 +319,8 @@ wins_tidy(void) // find first free num TODO - Will sort again int next_available = get_next_available_win_num(keys); - // found gap (next available after last window) - if (cmp_win_num(GINT_TO_POINTER(next_available), GINT_TO_POINTER(last_num)) > 0) { + // found gap (next available before last window) + if (cmp_win_num(GINT_TO_POINTER(next_available), GINT_TO_POINTER(last_num)) < 0) { tidy_required = TRUE; } -- cgit 1.4.1-2-gfad0 mirror of ranger - a simple, vim-like file managerakspecs <akspecs@tilde.institute>
summary refs log blame commit diff stats
path: root/doc/uml/134530.diagram
blob: 8ddb4d3164e5892fd2735a9eeaa9245c327e85ec (plain) (tree)
1
2
3
4
5
6
7
8
9