summaryrefslogtreecommitdiff
path: root/pith/pineelt.h
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2018-07-10 17:38:51 -0600
committerEduardo Chappa <chappa@washington.edu>2018-07-10 17:38:51 -0600
commit7f7ec82c7dc023b9ac7b985d1abe10e7bd3d908e (patch)
tree803ab8ac908b49837bd7aba81976a364d5878952 /pith/pineelt.h
parent28d0918a3d1647a8671dbc50d6abd263980f2272 (diff)
downloadalpine-7f7ec82c7dc023b9ac7b985d1abe10e7bd3d908e.tar.xz
* Several improvements to the OPENINGTEXT type of tokens, including:
avoid memory leaks when trying to get the opening text a second time, and get the actual opening text for html messages that are part of a multipart/* text. In addition, Alpine caches this text, so that operations such as resizing, or marking a message deleted, does not make Alpine recompute this text.
Diffstat (limited to 'pith/pineelt.h')
-rw-r--r--pith/pineelt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pith/pineelt.h b/pith/pineelt.h
index 2ed46aa1..54ab3811 100644
--- a/pith/pineelt.h
+++ b/pith/pineelt.h
@@ -41,6 +41,7 @@ typedef struct pine_elt {
PINETHRD_S *pthrd;
PARTEX_S *exceptions;
ICE_S *ice;
+ char *firsttext;
/* per-message pine state bits */
unsigned int hidden:1;
unsigned int excluded:1;