top: extend 'zero suppression' to out-of-memory fields
Now that the conditional OOMEM_ENABLE has been removed and more attention recently paid to the 2 oomem fields it was revealed that Rc.zero_suppress didn't extend to them. So this commit will just correct that oversight. And while we're at it, we'll also extend zero suppress to that NI (nice value) field, which already should've had it. Plus we trade those namespaces custom suppress logic for our now slightly enhanced make_num function. Reference(s): . removal of misguided OOMEM_ENABLE commit64238730fa
. zero suppression only recently added to namespaces commitb2853ed117
Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
@@ -582,7 +582,7 @@ typedef struct WIN_t {
|
||||
/*------ Basic Formatting support --------------------------------------*/
|
||||
//atic inline const char *justify_pad (const char *str, int width, int justr);
|
||||
//atic inline const char *make_chr (const char ch, int width, int justr);
|
||||
//atic inline const char *make_num (long num, int width, int justr, int col);
|
||||
//atic inline const char *make_num (long num, int width, int justr, int col, int noz);
|
||||
//atic inline const char *make_str (const char *str, int width, int justr, int col);
|
||||
//atic const char *scale_mem (int target, unsigned long num, int width, int justr);
|
||||
//atic const char *scale_num (unsigned long num, int width, int justr);
|
||||
|
Reference in New Issue
Block a user