]> git.pld-linux.org Git - packages/htop.git/blob - htop-nonprint.patch
- describe child {u/s}time.
[packages/htop.git] / htop-nonprint.patch
1 --- RichString.c.orig   2008-03-09 03:23:49.000000000 +0100
2 +++ RichString.c        2008-11-18 12:30:21.000000000 +0100
3 @@ -89,7 +89,7 @@
4  inline void RichString_appendn(RichString* this, int attrs, char* data_c, int len) {
5     int last = MIN(RICHSTRING_MAXLEN - 1, len + this->len);
6     for (int i = this->len, j = 0; i < last; i++, j++)
7 -      this->chstr[i] = data_c[j] | attrs;
8 +      this->chstr[i] = ((data_c[j] > 31) ? data_c[j] : '?' ) | attrs;
9     this->chstr[last] = 0;
10     this->len = last;
11  }
This page took 0.03052 seconds and 3 git commands to generate.