diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2006-07-12 01:16:03 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2006-07-12 01:16:03 +0000 |
commit | dbe2670b69e163cb146d3fc3b3c7b82ea3f71278 (patch) | |
tree | 6c9163067c52e387b24593f545fa2c549e4b4acf /Process.c | |
parent | e46f1426b906433c291de05432de9a9a43e14f4a (diff) |
Perform RichString operations by hand.
Avoid unnecessary operations when processing entries on ProcessList.
Diffstat (limited to 'Process.c')
-rw-r--r-- | Process.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -150,7 +150,7 @@ void Process_delete(Object* cast) { void Process_display(Object* cast, RichString* out) { Process* this = (Process*) cast; ProcessField* fields = this->pl->fields; - RichString_prune(out); + RichString_init(out); for (int i = 0; fields[i]; i++) Process_writeField(this, out, fields[i]); if (this->pl->shadowOtherUsers && this->st_uid != getuid()) |