From dd6c4b0cac7099c827c3cc1a60668ff38032942d Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 19 Jan 2013 21:30:19 +0100 Subject: support only Scinterm >= v1.1 (contains SCI_COLOR_PAIR macro and indirectly fixes PDCurses support) --- src/interface-ncurses.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') diff --git a/src/interface-ncurses.cpp b/src/interface-ncurses.cpp index 035a9a3..f376a1f 100644 --- a/src/interface-ncurses.cpp +++ b/src/interface-ncurses.cpp @@ -51,12 +51,6 @@ static void scintilla_notify(Scintilla *sci, int idFrom, /* FIXME: should be configurable in TECO (Function key substitutes) */ #define ESCAPE_SURROGATE KEY_DC -#ifndef SCI_COLOR_PAIR -/* from ScintillaTerm.cxx */ -#define SCI_COLOR_PAIR(f, b) \ - ((b) * 8 + (f) + 1) -#endif - #define SCI_COLOR_ATTR(f, b) \ COLOR_PAIR(SCI_COLOR_PAIR(f, b)) -- cgit v1.2.3