about summary refs log tree commit diff stats
path: root/src/LYStrings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYStrings.c')
-rw-r--r--src/LYStrings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LYStrings.c b/src/LYStrings.c
index 3a4a7b46..9033ad3d 100644
--- a/src/LYStrings.c
+++ b/src/LYStrings.c
@@ -245,7 +245,7 @@ PUBLIC int LYmbcsstrlen ARGS2(
 #endif
 
 #if !defined(GetChar)
-#ifdef HAVE_KEYPAD
+#if HAVE_KEYPAD
 #define GetChar getch
 #else
 #ifndef USE_GETCHAR
@@ -690,7 +690,7 @@ re_read:
 #endif /* NCURSES_MOUSE_VERSION */
 	}
     }
-#endif /* defined(HAVE_KEYPAD) */
+#endif /* HAVE_KEYPAD */
 
     if (c > DO_NOTHING) {
 	/*