about summary refs log tree commit diff stats
path: root/src/LYNews.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2001-06-11 01:14:52 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2001-06-11 01:14:52 -0400
commit244151ea1ed7b05051bd92a653bbde57c8194061 (patch)
tree13b8c5ac42c66347c61173e7d5929f738374b006 /src/LYNews.c
parent1f734c80c35ae04b3e8b0b82707d643f52852c6d (diff)
downloadlynx-snapshots-244151ea1ed7b05051bd92a653bbde57c8194061.tar.gz
snapshot of project "lynx", label v2-8-4pre_2
Diffstat (limited to 'src/LYNews.c')
-rw-r--r--src/LYNews.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LYNews.c b/src/LYNews.c
index 0755d17f..23906a44 100644
--- a/src/LYNews.c
+++ b/src/LYNews.c
@@ -36,7 +36,7 @@ PRIVATE BOOLEAN message_has_content ARGS2(
 
     *nonspaces = FALSE;
 
-    if (!filename || (fp = fopen(filename, TXT_R)) == NULL) {
+    if (!filename || (fp = fopen(filename, "r")) == NULL) {
 	CTRACE((tfp, "Failed to open file %s for reading!\n",
 	       NONNULL(filename)));
 	return FALSE;