From bd87b2af9dde0633e56a792665cdec7a9675da95 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 25 Nov 2012 14:05:14 -0600 Subject: Automated update from Qt3 --- doc/html/motif-walkthrough-7.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/motif-walkthrough-7.html') 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 new and delete when modifying members of the Page


-

When storing the context of the XmText widget, we use qstrdup() +

When storing the context of the XmText widget, we use tqstrdup() to make a copy of the string returned by the XmTextGetString() function.


 

The ReadDB() function in io.cpp needs similar changes. We replace all use of XtMalloc() and XtNewString() with new and -qstrdup(), respectively. +tqstrdup(), respectively.

This needs to be done just after opening the file.

-- cgit v1.2.1