Group :: Monitoring
RPM: htop
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: htop-3.0.5-alt-colorscheme.patch
Download
Download
diff --git a/Settings.c b/Settings.c
index ef607f0..ff0848c 100644
--- a/Settings.c
+++ b/Settings.c
@@ -205,7 +205,7 @@ static bool Settings_read(Settings* this, const char* fileName, int initialCpuCo
} else if (String_eq(option[0], "color_scheme")) {
this->colorScheme = atoi(option[1]);
if (this->colorScheme < 0 || this->colorScheme >= LAST_COLORSCHEME) {
- this->colorScheme = 0;
+ this->colorScheme = COLORSCHEME_BROKENGRAY;
}
} else if (String_eq(option[0], "enable_mouse")) {
this->enableMouse = atoi(option[1]);
@@ -404,7 +404,7 @@ Settings* Settings_new(int initialCpuCount) {
}
CRT_restorePrivileges();
}
- this->colorScheme = 0;
+ this->colorScheme = COLORSCHEME_BROKENGRAY;
this->enableMouse = true;
this->changed = false;
this->delay = DEFAULT_DELAY;