aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-system-monitor/011-max-nice-linux.patch
blob: 55d4e4110db31089e4d67a1d34e8b630a6900365 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From 7c493352b24fb6d0d8b003f25043b070244eeb2e Mon Sep 17 00:00:00 2001
From: Chris Kühl <chrisk@openismus.com>
Date: Fri, 15 Apr 2011 09:18:10 +0000
Subject: Make maximum nice value 19 instead of 20 on Linux.

---
diff --git a/src/procdialogs.h b/src/procdialogs.h
index eba3212..61decf8 100644
--- a/src/procdialogs.h
+++ b/src/procdialogs.h
@@ -26,7 +26,7 @@
 /* These are the actual range of settable values. Values outside this range
    are scaled back to these limits. So show these limits in the slider
 */
-#ifdef linux
+#ifdef __linux__
 #define RENICE_VAL_MIN -20
 #define RENICE_VAL_MAX 19
 #else /* ! linux */
--
cgit v0.9