diff --git a/doc/book/basics.tex b/doc/book/basics.tex index 30909c22..15d036d9 100644 --- a/doc/book/basics.tex +++ b/doc/book/basics.tex @@ -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: // . "Linux dans un "