diff options
author | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:16 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:16 +0200 |
commit | c868e3f8d629e1caddff1a51a7d2dd04f49994a3 (patch) | |
tree | dee0881088acc628312dcaaff8209184f4a2560b /Settings.c | |
parent | d3c9975943df58e293359b87905d19ff1fd52061 (diff) | |
download | debian_htop-c868e3f8d629e1caddff1a51a7d2dd04f49994a3.tar.gz debian_htop-c868e3f8d629e1caddff1a51a7d2dd04f49994a3.tar.bz2 debian_htop-c868e3f8d629e1caddff1a51a7d2dd04f49994a3.zip |
Imported Upstream version 0.5.1upstream/0.5.1
Diffstat (limited to 'Settings.c')
-rw-r--r-- | Settings.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -108,6 +108,9 @@ bool Settings_read(Settings* this, char* fileName) { // hide_kernel_threads } else if (String_eq(option[0], "hide_kernel_threads")) { this->pl->hideKernelThreads = atoi(option[1]); + // hide_kernel_threads + } else if (String_eq(option[0], "hide_userland_threads")) { + this->pl->hideUserlandThreads = atoi(option[1]); // shadow_other_users } else if (String_eq(option[0], "shadow_other_users")) { this->pl->shadowOtherUsers = atoi(option[1]); @@ -166,6 +169,7 @@ bool Settings_write(Settings* this) { fprintf(fd, "sort_direction=%d\n", (int) this->pl->direction); fprintf(fd, "hide_threads=%d\n", (int) this->pl->hideThreads); fprintf(fd, "hide_kernel_threads=%d\n", (int) this->pl->hideKernelThreads); + fprintf(fd, "hide_userland_threads=%d\n", (int) this->pl->hideUserlandThreads); fprintf(fd, "shadow_other_users=%d\n", (int) this->pl->shadowOtherUsers); fprintf(fd, "highlight_base_name=%d\n", (int) this->pl->highlightBaseName); fprintf(fd, "highlight_megabytes=%d\n", (int) this->pl->highlightMegabytes); |