Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37633737
en ru br
Репозитории ALT
S:3.2.2-alt2.1
5.1: 1.0-alt0.M51.1
4.1: 0.7-alt1
4.0: 0.7-alt1
3.0: 0.5.2-alt1
www.altlinux.org/Changes

Группа :: Мониторинг
Пакет: htop

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: htop-3.0.5-alt-colorscheme.patch
Скачать


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;
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin