[gnome-system-monitor] Make maximum nice value 19 instead of 20 on Linux.



commit 7c493352b24fb6d0d8b003f25043b070244eeb2e
Author: Chris Kühl <chrisk openismus com>
Date:   Fri Apr 15 11:18:10 2011 +0200

    Make maximum nice value 19 instead of 20 on Linux.

 src/procdialogs.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
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 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]