From 1537718abeb6807f341a19babd4cee3b46877d91 Mon Sep 17 00:00:00 2001 From: hwspeedy Date: Wed, 28 Feb 2024 21:14:30 +0100 Subject: FIX GCC warnings and enable debug for old distros --- shell/shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/shell.c b/shell/shell.c index 22b1003f..e74486f2 100644 --- a/shell/shell.c +++ b/shell/shell.c @@ -1065,7 +1065,7 @@ static void set_view_type(ShellViewType viewtype, gboolean reload) if (viewtype != shell->view_type) type_changed = TRUE; - if (viewtype < SHELL_VIEW_NORMAL || viewtype >= SHELL_VIEW_N_VIEWS) + if (viewtype >= SHELL_VIEW_N_VIEWS) viewtype = SHELL_VIEW_NORMAL; shell->normalize_percentage = TRUE; -- cgit v1.2.3