diff options
author | Igor Zhbanov <i.zhbanov@samsung.com> | 2012-07-18 13:17:25 +0400 |
---|---|---|
committer | Chris E Ferron <chris.e.ferron@linux.intel.com> | 2012-07-18 14:59:29 -0700 |
commit | 0957efe14f7877c4d90a8706e5e8b84e8a80c2d6 (patch) | |
tree | 2e15f6d7b24179c1edae048779c1cd26a4a989fe /src/tuning | |
parent | 59a66df791a975a39f9405b6ec65d8b7f06b8237 (diff) |
Get rid of ncurses' TRUE and FALSE
Get rid of TRUE and FALSE ncurses' defines used for boolean variables
initialization. This fix also helps build without ncurses support.
Diffstat (limited to 'src/tuning')
-rw-r--r-- | src/tuning/tuning.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tuning/tuning.cpp b/src/tuning/tuning.cpp index 1a90417..865d986 100644 --- a/src/tuning/tuning.cpp +++ b/src/tuning/tuning.cpp @@ -43,7 +43,7 @@ #include "../lib.h" static void sort_tunables(void); -static bool should_clear = FALSE; +static bool should_clear = false; #ifndef DISABLE_NCURSES class tuning_window: public tab_window { @@ -103,7 +103,7 @@ static void __tuning_update_display(int cursor_pos) return; if (should_clear) { - should_clear = FALSE; + should_clear = false; wclear(win); } @@ -185,7 +185,7 @@ static bool tunables_sort(class tunable * i, class tunable * j) void tuning_window::window_refresh() { clear_tuning(); - should_clear = TRUE; + should_clear = true; init_tuning(); } |