From f70f209239d51a5893f8f9f080b19b6ee94ff4af Mon Sep 17 00:00:00 2001 From: Lucas de Castro Borges Date: Mon, 22 Apr 2024 18:22:59 -0300 Subject: New upstream version 2.0.9pre --- shell/shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/shell.c') 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