about summary refs log tree commit diff stats
path: root/src/HTFWriter.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2000-09-01 11:32:04 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2000-09-01 11:32:04 -0400
commit703882dc69524a895907880c45cfa74ca8e761e4 (patch)
treed024733dabc99114dd9eb726683a7d30b1d37244 /src/HTFWriter.c
parent1a6a3318d96d97c4cc8d9fc827e930b3cfb22085 (diff)
downloadlynx-snapshots-703882dc69524a895907880c45cfa74ca8e761e4.tar.gz
snapshot of project "lynx", label v2-8-4dev_9
Diffstat (limited to 'src/HTFWriter.c')
-rw-r--r--src/HTFWriter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/HTFWriter.c b/src/HTFWriter.c
index 54b0aa90..c5e6fbf8 100644
--- a/src/HTFWriter.c
+++ b/src/HTFWriter.c
@@ -535,6 +535,9 @@ PRIVATE char *mailcap_substitute ARGS3(
 		if (s[1] == 't') {
 		    repl = pres->rep->name;
 		    skip = 1;
+		} else if (s[1] == 's') {
+		    repl = fnam;
+		    skip = 1;
 		} else if (!strncasecomp(s+1, "{charset}", 9)) {
 		    repl = anchor->charset;
 		    skip = 9;