top: miscellaneous changes to whitespace/comments only

[ ok, there's also 1 newly added #undef included too ]

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2017-12-15 00:00:00 -05:00 committed by Craig Small
parent 550a58eecf
commit 71b3de01f2

View File

@ -31,6 +31,7 @@
#include <stdlib.h>
#include <string.h>
#include <term.h> // foul sob, defines all sorts of stuff...
#undef raw
#undef tab
#undef TTY
#include <termios.h>
@ -2051,7 +2052,8 @@ static void display_fields (int focus, int extend) {
char sbuf[xSUFX*4]; // 4 = max multi-byte
int xcol, xfld;
// prep sacrificial suffix (allowing for beginning '= ') ...
/* prep sacrificial suffix (allowing for beginning '= ')
note: width passed to 'utf8_embody' may go negative, but he'll be just fine */
snprintf(sbuf, sizeof(sbuf), "= %.*s", utf8_embody(N_fld(f), smax - xEQUS), N_fld(f));
// obtain translated deltas (if any) ...