From: Jaakko Heinonen Date: Wed, 26 Oct 2005 15:28:57 +0000 (+0000) Subject: - possibly improve error reporting when tabs are too wide to display X-Git-Tag: upstream/0.6.1~2^2~128 X-Git-Url: https://git.deb.at/?p=pkg%2Fabook.git;a=commitdiff_plain;h=f026812d2e0024e256c8ade2fe56e4609fd9b528 - possibly improve error reporting when tabs are too wide to display --- 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; }