about summary refs log tree commit diff stats
path: root/src/GridText.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/GridText.c
parent1f734c80c35ae04b3e8b0b82707d643f52852c6d (diff)
downloadlynx-snapshots-244151ea1ed7b05051bd92a653bbde57c8194061.tar.gz
snapshot of project "lynx", label v2-8-4pre_2
Diffstat (limited to 'src/GridText.c')
-rw-r--r--src/GridText.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GridText.c b/src/GridText.c
index af7d2422..4562103c 100644
--- a/src/GridText.c
+++ b/src/GridText.c
@@ -8014,7 +8014,7 @@ PUBLIC BOOLEAN HTreparse_document NOARGS
 	}
 	CTRACE((tfp, "  Content type is \"%s\"\n", format->name));
 
-	fp = fopen(HTMainAnchor->source_cache_file, TXT_R);
+	fp = fopen(HTMainAnchor->source_cache_file, "r");
 	if (!fp) {
 	    CTRACE((tfp, "  Cannot read file %s\n", HTMainAnchor->source_cache_file));
 	    LYRemoveTemp(HTMainAnchor->source_cache_file);
@@ -12035,7 +12035,7 @@ PUBLIC int HText_ExtEditForm ARGS1(
 	    return 0;
 	}
 
-	fp = fopen (ed_temp, TXT_R);
+	fp = fopen (ed_temp, "r");
 	size = fread (ebuf, 1, size, fp);
 	LYCloseInput (fp);
 	ebuf[size] = '\0';	/* Terminate! - kw */
@@ -12425,7 +12425,7 @@ PUBLIC int HText_InsertFile ARGS1(
 	 */
 	LYGetFileInfo(fn, 0, 0, 0, 0, 0, &file_cs);
 
-	fp   = fopen (fn, TXT_R);
+	fp   = fopen (fn, "r");
 	if (!fp) {
 	    free(fbuf);
 	    free(fn);