X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=edit.c;h=538eb422d18b1b80b6ad075cafab9045a8454a28;hb=409a820589a0453197e0970e7048b82ad412c4c3;hp=f5e05845e8022e1abc94f20e4845815a5aa0c8d9;hpb=4909ba20244f55ee7326a40d751cf6737c2bc2b6;p=pkg%2Fabook.git 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; }