diff options
Diffstat (limited to 'doc/html/motif-walkthrough-7.html')
-rw-r--r-- | doc/html/motif-walkthrough-7.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/motif-walkthrough-7.html b/doc/html/motif-walkthrough-7.html index 018258ae2..c6e5a2a19 100644 --- a/doc/html/motif-walkthrough-7.html +++ b/doc/html/motif-walkthrough-7.html @@ -95,13 +95,13 @@ use <em>new</em> and <em>delete</em> when modifying members of the <tt>Page</tt> <p> <pre></pre> -<p> When storing the context of the <tt>XmText</tt> widget, we use <a href="qcstring.html#qstrdup">qstrdup</a>() +<p> When storing the context of the <tt>XmText</tt> widget, we use <a href="ntqcstring.html#qstrdup">qstrdup</a>() to make a copy of the string returned by the <tt>XmTextGetString()</tt> function. <p> <pre></pre> <p> The <tt>ReadDB()</tt> function in <tt>io.cpp</tt> needs similar changes. We replace all use of <tt>XtMalloc()</tt> and <tt>XtNewString()</tt> with <em>new</em> and -<a href="qcstring.html#qstrdup">qstrdup</a>(), respectively. +<a href="ntqcstring.html#qstrdup">qstrdup</a>(), respectively. <p> This needs to be done just after opening the file. <p> |