about summary refs log tree commit diff stats
path: root/src/LYOptions.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1999-05-06 00:54:12 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1999-05-06 00:54:12 -0400
commitaa7067e195c6612fb732055a86ccea8158b17cfd (patch)
tree5cae83dedc745a09a4c060601e686faf3c85ac94 /src/LYOptions.c
parenta4a7d3a32615c1ea52c41ff149e291417fa1bdc8 (diff)
downloadlynx-snapshots-aa7067e195c6612fb732055a86ccea8158b17cfd.tar.gz
snapshot of project "lynx", label v2-8-2dev_26
Diffstat (limited to 'src/LYOptions.c')
-rw-r--r--src/LYOptions.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/LYOptions.c b/src/LYOptions.c
index a99e6b0d..524e91e4 100644
--- a/src/LYOptions.c
+++ b/src/LYOptions.c
@@ -28,6 +28,10 @@ BOOLEAN term_options;
 
 PRIVATE void terminate_options	PARAMS((int sig));
 
+#if !defined(NO_OPTION_MENU) || defined(NCURSES_MOUSE_VERSION)
+#define COL_OPTION_VALUES 36  /* display column where option values start */
+#endif
+
 #ifndef NO_OPTION_MENU
 PRIVATE int boolean_choice PARAMS((
 	int		status,
@@ -98,9 +102,6 @@ PRIVATE int boolean_choice PARAMS((
 #define B_VERBOSE_IMAGES 50
 #define C_VERBOSE_IMAGES (B_VERBOSE_IMAGES + 21)
 
-
-#define COL_OPTION_VALUES 36  /* display column where option values start */
-
 /* a kludge to add assume_charset only in ADVANCED mode... */
 #define L_Bool_A (use_assume_charset ? L_BOOL_A + 1 : L_BOOL_A)
 #define L_Bool_B (use_assume_charset ? L_BOOL_B + 1 : L_BOOL_B)
@@ -2164,7 +2165,7 @@ draw_bookmark_list:
     signal(SIGINT, cleanup_sig);
 }
 
-#ifndef NO_OPTION_MENU
+#if !defined(NO_OPTION_MENU) || defined(NCURSES_MOUSE_VERSION)
 /*
 **  This function prompts for a choice or page number.
 **  If a 'g' or 'p' suffix is included, that will be
@@ -3962,7 +3963,7 @@ PUBLIC int postoptions ARGS1(
     if (!HTLoadAbsolute(&WWWDoc))
        return(NOT_FOUND);
 
-    reloading = FALSE;  /* set manually */ 
+    reloading = FALSE;  /* set manually */
     /*  force end-to-end reload from remote server if change LYUserAgent
      *  or language or pref_charset (marked by need_end_reload flag above),
      *  from old-style LYK_OPTIONS (mainloop):