From f026812d2e0024e256c8ade2fe56e4609fd9b528 Mon Sep 17 00:00:00 2001 From: Jaakko Heinonen Date: Wed, 26 Oct 2005 15:28:57 +0000 Subject: [PATCH] - possibly improve error reporting when tabs are too wide to display --- edit.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/edit.c b/edit.c index f5e0584..538eb42 100644 --- a/edit.c +++ b/edit.c @@ -51,10 +51,7 @@ editor_tab(const int tab) int width = strwidth(tab_name) + 5; if(x_pos + width + 1 > EDITW_COLS) { - statusline_msg(_("Tab name too wide for screen")); - /* Disabling this field */ - /* TODO should be recomputed on window resize */ - views_count--; + statusline_addstr(_("Tab name too wide for screen")); break; } -- 2.39.2