diff --git a/curses.h b/curses.h index 685d77eb..fbe1f80c 100644 --- a/curses.h +++ b/curses.h @@ -40,9 +40,9 @@ Defined by this header: #define PDC_VER_MAJOR 4 #define PDC_VER_MINOR 3 #define PDC_VER_CHANGE 5 -#define PDC_VER_YEAR 2022 -#define PDC_VER_MONTH 12 -#define PDC_VER_DAY 15 +#define PDC_VER_YEAR 2023 +#define PDC_VER_MONTH 01 +#define PDC_VER_DAY 05 #define PDC_STRINGIZE( x) #x #define PDC_stringize( x) PDC_STRINGIZE( x) diff --git a/demos/mbrot.c b/demos/mbrot.c index 02b6b80b..e97162d5 100644 --- a/demos/mbrot.c +++ b/demos/mbrot.c @@ -231,8 +231,6 @@ int main( const int argc, const char **argv) _n_colors = COLORS; /* use PDCursesMod's rgb palette */ else if( !_n_colors) { - int i; - while( _n_colors * (_n_colors + 1) / 2 < COLOR_PAIRS - COLOR0 && _n_colors < COLORS - COLOR0) _n_colors++;