about summary refs log tree commit diff stats
path: root/src/LYCurses.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYCurses.c')
-rw-r--r--src/LYCurses.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/LYCurses.c b/src/LYCurses.c
index 5763b276..9d5885ff 100644
--- a/src/LYCurses.c
+++ b/src/LYCurses.c
@@ -355,11 +355,7 @@ PUBLIC void curses_w_style ARGS4(WINDOW*,win,int,style,int,dir,int,previous)
 				"in LynxChangStyle(curses_w_style)");
 		    last_ptr--;
 		}
-#ifndef _NCURSES_H
 		last_styles[last_ptr++] = getattrs(stdscr);
-#else
-		last_styles[last_ptr++] = attr_get();
-#endif
 		/* don't cache style changes for active links */
 		if (style != s_alink)
 		{