diff options
author | Lucas de Castro Borges <lucas@gnuabordo.com.br> | 2024-04-22 18:23:04 -0300 |
---|---|---|
committer | Lucas de Castro Borges <lucas@gnuabordo.com.br> | 2024-04-22 18:23:04 -0300 |
commit | 76e1a7480ed7a77a442dee8b63574c8516cacdd2 (patch) | |
tree | f4b7997875f37b1ae97ea5f4773aebfa9a96965a /shell/shell.c | |
parent | 4212b15b19d6c9db8d2f9fed92e5b9675b2cfe9c (diff) | |
parent | f70f209239d51a5893f8f9f080b19b6ee94ff4af (diff) |
Update upstream source from tag 'upstream/2.0.9pre'
Update to upstream version '2.0.9pre'
with Debian dir 817dddd03e0e9bc80d4f80e98431c08f4e402b1e
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; |