mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 17:26:21 +00:00
Fixed test for requiring window tidy
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user