blob: 5dc9c9af206799b9d0782d4802010f8e75d4c3c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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")) {
|