diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/statusbar.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/statusbar.c b/src/ui/statusbar.c index 3515b0a7..ccb00452 100644 --- a/src/ui/statusbar.c +++ b/src/ui/statusbar.c @@ -302,6 +302,9 @@ static int _status_bar_draw_extended_tabs(int pos) { gint max_tabs = prefs_get_statusbartabs(); + if (max_tabs == 0) { + return pos; + } if (g_hash_table_size(statusbar->tabs) > max_tabs) { gboolean is_current = statusbar->current_tab > max_tabs; |