diff options
author | Darrell Anderson <[email protected]> | 2012-11-27 20:55:12 -0600 |
---|---|---|
committer | Darrell Anderson <[email protected]> | 2012-11-27 20:55:12 -0600 |
commit | 992df30f3c50b5439c2b5f8621ab6e928d9346eb (patch) | |
tree | acdd3b48b9f30eeda4f94092172ffb3042fca766 /doc/html/motif-walkthrough-7.html | |
parent | 74ce99a42a0dc9d9a168156a2f5d146edb9bb555 (diff) | |
parent | 84f70969d95344d402d6f6152a6373469a3718ca (diff) | |
download | tqt3-992df30f3c50b5439c2b5f8621ab6e928d9346eb.tar.gz tqt3-992df30f3c50b5439c2b5f8621ab6e928d9346eb.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tqt3
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 c6e5a2a19..8e63c9c01 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="ntqcstring.html#qstrdup">qstrdup</a>() +<p> When storing the context of the <tt>XmText</tt> widget, we use <a href="ntqcstring.html#qstrdup">tqstrdup</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="ntqcstring.html#qstrdup">qstrdup</a>(), respectively. +<a href="ntqcstring.html#qstrdup">tqstrdup</a>(), respectively. <p> This needs to be done just after opening the file. <p> |