From e2b58f0ab81b2aafeb8c29a69abad7829fa21ab3 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 11 Apr 2016 13:00:30 +0200 Subject: Imported Upstream version 1.0.1 --- CRT.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'CRT.c') diff --git a/CRT.c b/CRT.c index 949b543..621adfc 100644 --- a/CRT.c +++ b/CRT.c @@ -7,19 +7,16 @@ in the source distribution for its full text. #include "CRT.h" +#include "config.h" +#include "String.h" + #include #include #include -#include #ifdef HAVE_EXECINFO_H #include #endif -#include "String.h" - -#include "config.h" -#include "debug.h" - #define ColorPair(i,j) COLOR_PAIR((7-i)*8+j) #define COLORSCHEME_DEFAULT 0 @@ -40,9 +37,8 @@ in the source distribution for its full text. //#link curses -bool CRT_hasColors; - /*{ +#include typedef enum ColorElements_ { RESET_COLOR, @@ -112,6 +108,8 @@ typedef enum ColorElements_ { // TODO: centralize these in Settings. +static bool CRT_hasColors; + int CRT_delay = 0; int CRT_colorScheme = 0; -- cgit v1.2.3