Updated deprecated function.
This commit is contained in:
parent
8e9320970b
commit
9fa185b454
@ -669,7 +669,7 @@ vmime::string inText = "Linux dans un t
|
||||
vmime::charset inCharset = "utf-8";
|
||||
|
||||
vmime::text outText;
|
||||
vmime::newFromString(inText, inCharset, &outText);
|
||||
outText.createFromString(inText, inCharset);
|
||||
|
||||
// 'outText' now contains 3 words:
|
||||
// . <us-ascii> "Linux dans un "
|
||||
|
Loading…
Reference in New Issue
Block a user