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:
parent
dd47a9744f
commit
cdf8eac99e
@ -31,6 +31,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <term.h> // foul sob, defines all sorts of stuff...
|
#include <term.h> // foul sob, defines all sorts of stuff...
|
||||||
|
#undef raw
|
||||||
#undef tab
|
#undef tab
|
||||||
#undef TTY
|
#undef TTY
|
||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
@ -2249,7 +2250,8 @@ static void display_fields (int focus, int extend) {
|
|||||||
char sbuf[xSUFX*4]; // 4 = max multi-byte
|
char sbuf[xSUFX*4]; // 4 = max multi-byte
|
||||||
int xcol, xfld;
|
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));
|
snprintf(sbuf, sizeof(sbuf), "= %.*s", utf8_embody(N_fld(f), smax - xEQUS), N_fld(f));
|
||||||
|
|
||||||
// obtain translated deltas (if any) ...
|
// obtain translated deltas (if any) ...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user