aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--README1
-rw-r--r--src/interface-ncurses.cpp6
2 files changed, 1 insertions, 6 deletions
diff --git a/README b/README
index 9bd7d85..3329aeb 100644
--- a/README
+++ b/README
@@ -47,6 +47,7 @@ SciTECO has the following build and runtime dependencies:
* Autotools, GNU C, C++ and [Gob2](http://www.jirka.org/gob.html)
* [Glib](http://developer.gnome.org/glib/), as a cross-platform runtime library
* [Scintilla](http://www.scintilla.org/), and possibly [Scinterm](http://foicica.com/scinterm/)
+ (v1.1 or later)
* [GTK+ 2](http://www.gtk.org/), [NCurses](http://www.gnu.org/software/ncurses/),
[PDCurses/XCurses](http://pdcurses.sourceforge.net/) or
[PDCurses/Win32a](http://www.projectpluto.com/win32a.htm).
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))