diff options
author | Vincent Richard <[email protected]> | 2004-12-15 20:28:09 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2004-12-15 20:28:09 +0000 |
commit | 50a6a9cdfacfa4e1aaa5a35fe8c3bc6ac114fa57 (patch) | |
tree | f18d5df3baa88b63360155b1f53653dcc9630165 /src/charset.cpp | |
parent | Working on 'maildir' implementation. (diff) | |
download | vmime-50a6a9cdfacfa4e1aaa5a35fe8c3bc6ac114fa57.tar.gz vmime-50a6a9cdfacfa4e1aaa5a35fe8c3bc6ac114fa57.zip |
Added parsing bounds on 'component'.
Diffstat (limited to 'src/charset.cpp')
-rw-r--r-- | src/charset.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/charset.cpp b/src/charset.cpp index ffa5aea0..5a06722c 100644 --- a/src/charset.cpp +++ b/src/charset.cpp @@ -59,6 +59,8 @@ void charset::parse(const string& buffer, const string::size_type position, { m_name = string(buffer.begin() + position, buffer.begin() + end); + setParsedBounds(position, end); + if (newPosition) *newPosition = end; } |