diff options
author | Lucas de Castro Borges <lucas@gnuabordo.com.br> | 2024-04-22 18:22:59 -0300 |
---|---|---|
committer | Lucas de Castro Borges <lucas@gnuabordo.com.br> | 2024-04-22 18:22:59 -0300 |
commit | f70f209239d51a5893f8f9f080b19b6ee94ff4af (patch) | |
tree | e0ba432caaf0b19987dd0c8f162d3d949da809f6 /shell/shell.c | |
parent | 48726c0c219ffeddb45befe0fb8621e1b2648e78 (diff) |
New upstream version 2.0.9preupstream/2.0.9pre
Diffstat (limited to 'shell/shell.c')
-rw-r--r-- | shell/shell.c | 2 |
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; |