diff -r ae284bf1b5ff -r 9eb47f1899be sources/interface.cpp --- a/sources/interface.cpp Mon Jan 11 02:49:29 2016 +0200 +++ b/sources/interface.cpp Mon Jan 11 00:56:44 2016 +0200 @@ -174,9 +174,9 @@ if (::has_colors()) { ::start_color(); - bool hasDefaultColors = ::use_default_colors(); - int defaultFg = (hasDefaultColors == OK) ? -1 : COLOR_WHITE; - int defaultBg = (hasDefaultColors == OK) ? -1 : COLOR_BLACK; + bool hasDefaultColors = (::use_default_colors() == OK); + int defaultFg = hasDefaultColors ? -1 : COLOR_WHITE; + int defaultBg = hasDefaultColors ? -1 : COLOR_BLACK; // Initialize color pairs for (int i = 0; i < NUM_COLORS; ++i)