From: Jaakko Heinonen Date: Sun, 25 Sep 2005 15:16:14 +0000 (+0000) Subject: - whitespace formatting X-Git-Tag: upstream/0.6.1~2^2~153 X-Git-Url: https://git.deb.at/?p=pkg%2Fabook.git;a=commitdiff_plain;h=0b958afb787e4e151916721292d20c80d77aa5fe - whitespace formatting --- diff --git a/edit.c b/edit.c index 538555a..53e6251 100644 --- a/edit.c +++ b/edit.c @@ -54,13 +54,13 @@ editor_tab(const int tab) for(i = 0; i < TABS; i++) { int width = mbswidth(gettext(tab_names[i]), 0) + 5; - if(sum + width + 1> EDITW_COLS) { + if(sum + width + 1 > EDITW_COLS) { statusline_msg(_("Tab name too wide for screen")); break; } - mvwaddch(editw, TABLINE+1, sum, UI_TEE_CHAR); - mvwaddch(editw, TABLINE+1, sum + width - 2, UI_TEE_CHAR); + mvwaddch(editw, TABLINE + 1, sum, UI_TEE_CHAR); + mvwaddch(editw, TABLINE + 1, sum + width - 2, UI_TEE_CHAR); mvwaddch(editw, TABLINE, sum, UI_ULCORNER_CHAR); mvwaddch(editw, TABLINE, sum + 1, UI_LBOXLINE_CHAR); @@ -72,11 +72,11 @@ editor_tab(const int tab) mvwaddch(editw, TABLINE+1, sum, UI_LRCORNER_CHAR); for(j = 0; j < width - 3; j++) mvwaddstr(editw, TABLINE+1, sum + j + 1, " "); - mvwaddch(editw, TABLINE+1, sum + width - 2, UI_LLCORNER_CHAR); + mvwaddch(editw, TABLINE + 1, sum + width - 2, + UI_LLCORNER_CHAR); } sum += width; } - } void