From 9fa185b454ee06e3dbcb8e3f271edb80bec8cbd5 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Mon, 6 Dec 2010 11:57:44 +0000 Subject: [PATCH] Updated deprecated function. --- doc/book/basics.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "