about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2006-10-11 00:02:31 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2006-10-11 00:02:31 -0400
commit5fcccf26ad8c8c4351a47ad4e03b69e123cf8bbe (patch)
tree411fe2f5bc9ed26a32ccdc3f68f8f674afc924fe /src
parent967f9ea52f38f17bec14ba24a89f020db1f8d407 (diff)
downloadlynx-snapshots-5fcccf26ad8c8c4351a47ad4e03b69e123cf8bbe.tar.gz
snapshot of project "lynx", label v2-8-6pre_6
Diffstat (limited to 'src')
-rw-r--r--src/LYCurses.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/LYCurses.c b/src/LYCurses.c
index 370c3135..dd0f1d24 100644
--- a/src/LYCurses.c
+++ b/src/LYCurses.c
@@ -879,7 +879,7 @@ if (recent_sizechange) { \
     delscreen(LYscreen); \
     LYscreen = NULL; } }
 /*
- * Surrogates for newterm annd delscreen
+ * Surrogates for newterm and delscreen
  */
 #else /* HAVE_NEWTERM   */
 static WINDOW *LYscreen = NULL;
@@ -1209,12 +1209,10 @@ void start_curses(void)
 #endif /* USE_COLOR_STYLE || USE_COLOR_TABLE */
 
 #ifdef USE_COLOR_STYLE
-#ifdef PDCURSES
-	/* PDCurses forgets color settings when we call endwin() */
+	/* Curses forgets color settings when we call delscreen() */
 	if (!isEmpty(lynx_lss_file) && LYCanReadFile(lynx_lss_file)) {
 	    style_readFromFile(lynx_lss_file);
 	}
-#endif
 	parse_userstyles();
 #endif
 #ifdef USE_COLOR_TABLE