summaryrefslogtreecommitdiff
path: root/contrib/carmel/pine/mailview.c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/carmel/pine/mailview.c.patch')
-rw-r--r--contrib/carmel/pine/mailview.c.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/contrib/carmel/pine/mailview.c.patch b/contrib/carmel/pine/mailview.c.patch
new file mode 100644
index 00000000..5dc9c9af
--- /dev/null
+++ b/contrib/carmel/pine/mailview.c.patch
@@ -0,0 +1,39 @@
+*** mailview.c Wed Aug 17 17:19:56 1994
+--- mailview.c.new Wed Aug 31 19:04:19 1994
+***************
+*** 132,139 ****
+--- 132,147 ----
+ void redraw_scroll_text();
+ #endif
+
++ #ifdef BWC
++ #ifdef ANSI
++ void gf_glyph2richtext(FILTER_S *, int, int);
++ #else
++ void gf_glyph2richtext();
++ #endif
++ #endif
+
+
++
+ /*----------------------------------------------------------------------
+ Format a buffer with the text of the current message for browser
+
+***************
+*** 892,897 ****
+--- 900,914 ----
+ filter_t aux_filter[4];
+ int filtcnt = 0, error_found = 0;
+ char *err;
++
++ #ifdef BWC
++ if(att->body->subtype != NULL &&
++ strucmp(att->body->subtype, "X-bwc-glyph") == 0) {
++ aux_filter[filtcnt++] = gf_glyph2richtext;
++ gf_enriched2plain_opt(0); /* don't strip everything! */
++ aux_filter[filtcnt++] = gf_enriched2plain;
++ }
++ #endif
+
+ if(att->body->subtype){
+ if(!strucmp(att->body->subtype, "richtext")) {