projects
/
oweals
/
cde.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dtcm: make it build
[oweals/cde.git]
/
cde
/
lib
/
DtHelp
/
HelpUtil.c
diff --git
a/cde/lib/DtHelp/HelpUtil.c
b/cde/lib/DtHelp/HelpUtil.c
index 8b8166245c275d50a6b409e8533c541993d282ed..5aaec504ba7986e536a1e1adaa877ffbbe4e531d 100644
(file)
--- a/
cde/lib/DtHelp/HelpUtil.c
+++ b/
cde/lib/DtHelp/HelpUtil.c
@@
-16,7
+16,7
@@
* details.
*
* You should have received a copy of the GNU Lesser General Public
* details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with these librar
ar
ies and programs; if not, write
+ * License along with these libraries and programs; if not, write
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*/
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*/
@@
-67,6
+67,7
@@
#include "Access.h"
#include "bufioI.h"
#include "DisplayAreaI.h"
#include "Access.h"
#include "bufioI.h"
#include "DisplayAreaI.h"
+#include "DisplayAreaP.h"
#include <Dt/Help.h>
#include "HelpI.h"
#include <Dt/Help.h>
#include "HelpI.h"
@@
-76,6
+77,8
@@
#include "HelpDialogP.h"
#include "HelpUtilI.h"
#include "HelposI.h"
#include "HelpDialogP.h"
#include "HelpUtilI.h"
#include "HelposI.h"
+#include "HyperTextI.h"
+#include "FormatI.h"
#include "MessagesP.h"
#include "HelpQuickD.h"
#include "SetListI.h"
#include "MessagesP.h"
#include "HelpQuickD.h"
#include "SetListI.h"
@@
-880,6
+883,7
@@
int _DtHelpFilterExecCmd(
if (False == useQueryDialog)
{
*ret_filteredCmdStr = NULL;
if (False == useQueryDialog)
{
*ret_filteredCmdStr = NULL;
+ XtFree(filteredCmdStr);
return -1; /* RETURN error */
}
return -1; /* RETURN error */
}
@@
-1554,7
+1558,7
@@
char *_DtHelpParseIdString(
char *pAccessFile = NULL;
char *tmpSpec=NULL;
char *returnStr=NULL;
char *pAccessFile = NULL;
char *tmpSpec=NULL;
char *returnStr=NULL;
- char *strtok_ptr;
+ char *strtok_ptr
=NULL
;
tmpSpec = XtNewString(specification);
tmpSpec = XtNewString(specification);
@@
-1612,7
+1616,7
@@
char *_DtHelpParseAccessFile(
char *pAccessFile = NULL;
char *tmpSpec=NULL;
char *returnStr=NULL;
char *pAccessFile = NULL;
char *tmpSpec=NULL;
char *returnStr=NULL;
- char *strtok_ptr;
+ char *strtok_ptr
=NULL
;
tmpSpec = XtNewString(specification);
tmpSpec = XtNewString(specification);
@@
-2196,7
+2200,7
@@
void _DtHelpDisplayFormatError(
/* Set the string to the current help dialog */
(void) _DtHelpFormatAsciiStringDynamic(displayArea, userError, &topicHandle);
/* Set the string to the current help dialog */
(void) _DtHelpFormatAsciiStringDynamic(displayArea, userError, &topicHandle);
- /* We ignor the status return here, because if we error out here we are
+ /* We ignor
e
the status return here, because if we error out here we are
* in big trouble because this is an error routine
*/
* in big trouble because this is an error routine
*/