Code

screen_search: don't include ncurses.h directly
authorMax Kellermann <max@duempel.org>
Wed, 19 Nov 2008 08:45:51 +0000 (09:45 +0100)
committerMax Kellermann <max@duempel.org>
Wed, 19 Nov 2008 08:45:51 +0000 (09:45 +0100)
screen.h has a check whether to include ncursesw/ncurses.h or
ncurses.h.  screen_search.c doesn't need to include it a second time,
and was missing the check.

src/screen_search.c

index 277a9e2775c82f4b6151b27703c85a8e9fd4c7a8..b8e7f43d7008451bf7dd67f9676894aba18110bc 100644 (file)
@@ -32,7 +32,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <glib.h>
-#include <ncurses.h>
 
 static const struct {
        const char *name;