%%% Created Sun May 9 10:57:57 MDT 2004 by target lynx.patch. %%% diff -bru orig/lynx2-8-6/src/HTFWriter.c lynx2-8-6/src/HTFWriter.c --- orig/lynx2-8-6/src/HTFWriter.c Tue Apr 27 14:06:18 2004 +++ lynx2-8-6/src/HTFWriter.c Sun May 9 10:47:18 2004 @@ -738,7 +738,8 @@ suffix = HTML_SUFFIX; } else if (!strncasecomp(pres->rep->name, "text/", 5)) { suffix = TEXT_SUFFIX; - } else if (!strncasecomp(pres->rep->name, "application/", 12)) { + } else if (!strncasecomp(pres->rep->name, "application/", 12) + && strncasecomp(pres->rep->name, "application/pdf", 15) ) { suffix = BIN_SUFFIX; } else if ((suffix = HTFileSuffix(pres->rep, anchor->content_encoding)) == 0