summaryrefslogtreecommitdiff
path: root/shell/shell.c
diff options
context:
space:
mode:
authorLucas de Castro Borges <lucas@gnuabordo.com.br>2024-04-22 18:22:59 -0300
committerLucas de Castro Borges <lucas@gnuabordo.com.br>2024-04-22 18:22:59 -0300
commitf70f209239d51a5893f8f9f080b19b6ee94ff4af (patch)
treee0ba432caaf0b19987dd0c8f162d3d949da809f6 /shell/shell.c
parent48726c0c219ffeddb45befe0fb8621e1b2648e78 (diff)
New upstream version 2.0.9preupstream/2.0.9pre
Diffstat (limited to 'shell/shell.c')
-rw-r--r--shell/shell.c2
1 files changed, 1 insertions, 1 deletions
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;