top: eliminate warnings for '-Wmisleading-indentation'
Reference(s): . 01/08/22, newlib branch equivalent commit commit 68995bee95d145f84c27849c47e4512da3f77a7e Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
169761e186
commit
376d44d580
@ -576,7 +576,8 @@ typedef struct WIN_t {
|
|||||||
const int _len = snprintf(_str, sizeof(_str), fmt, ## arg); \
|
const int _len = snprintf(_str, sizeof(_str), fmt, ## arg); \
|
||||||
if (Batch) { \
|
if (Batch) { \
|
||||||
char *_eol = _str + (_len < 0 ? 0 : (size_t)_len >= sizeof(_str) ? sizeof(_str)-1 : (size_t)_len); \
|
char *_eol = _str + (_len < 0 ? 0 : (size_t)_len >= sizeof(_str) ? sizeof(_str)-1 : (size_t)_len); \
|
||||||
while (_eol > _str && _eol[-1] == ' ') _eol--; *_eol = '\0'; putp(_str); } \
|
while (_eol > _str && _eol[-1] == ' ') _eol--; \
|
||||||
|
*_eol = '\0'; putp(_str); } \
|
||||||
else if (Pseudo_row >= 0 && Pseudo_row < Screen_rows) { \
|
else if (Pseudo_row >= 0 && Pseudo_row < Screen_rows) { \
|
||||||
char *_ptr = &Pseudo_screen[Pseudo_row++ * ROWMAXSIZ]; \
|
char *_ptr = &Pseudo_screen[Pseudo_row++ * ROWMAXSIZ]; \
|
||||||
if (!strcmp(_ptr, _str)) putp("\n"); \
|
if (!strcmp(_ptr, _str)) putp("\n"); \
|
||||||
|
Loading…
Reference in New Issue
Block a user