aboutsummaryrefslogtreecommitdiffstats
path: root/src/text.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2004-12-15 20:28:09 +0000
committerVincent Richard <[email protected]>2004-12-15 20:28:09 +0000
commit50a6a9cdfacfa4e1aaa5a35fe8c3bc6ac114fa57 (patch)
treef18d5df3baa88b63360155b1f53653dcc9630165 /src/text.cpp
parentWorking on 'maildir' implementation. (diff)
downloadvmime-50a6a9cdfacfa4e1aaa5a35fe8c3bc6ac114fa57.tar.gz
vmime-50a6a9cdfacfa4e1aaa5a35fe8c3bc6ac114fa57.zip
Added parsing bounds on 'component'.
Diffstat (limited to 'src/text.cpp')
-rw-r--r--src/text.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/text.cpp b/src/text.cpp
index 5a5a1250..b2f29966 100644
--- a/src/text.cpp
+++ b/src/text.cpp
@@ -71,6 +71,8 @@ void text::parse(const string& buffer, const string::size_type position,
{
decodeAndUnfold(buffer.begin() + position, buffer.begin() + end, *this);
+ setParsedBounds(position, end);
+
if (newPosition)
*newPosition = end;
}