From c868e3f8d629e1caddff1a51a7d2dd04f49994a3 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 11 Apr 2016 13:00:16 +0200 Subject: Imported Upstream version 0.5.1 --- Settings.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Settings.c') diff --git a/Settings.c b/Settings.c index a32bde2..5e9bbfd 100644 --- a/Settings.c +++ b/Settings.c @@ -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); -- cgit v1.2.3