summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/termcap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/termcap.c b/src/termcap.c
index 7be847503f0..d26348e525c 100644
--- a/src/termcap.c
+++ b/src/termcap.c
@@ -76,8 +76,8 @@ int bufsize = 128;
#endif
#endif
-#ifndef TERMCAP_NAME
-#define TERMCAP_NAME "/etc/termcap"
+#ifndef TERMCAP_FILE
+#define TERMCAP_FILE "/etc/termcap"
#endif
#ifndef emacs
@@ -480,7 +480,7 @@ tgetent (bp, name)
}
if (!termcap_name || !filep)
- termcap_name = TERMCAP_NAME;
+ termcap_name = TERMCAP_FILE;
/* Here we know we must search a file and termcap_name has its name. */