r518: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Fri, 9 Feb 2001 22:22:04 +0000 (22:22 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Fri, 9 Feb 2001 22:22:04 +0000 (22:22 +0000)
doc/Makefile.in
src/ctsim.cpp

index 6421b02605656046a18ff6ad53774d2ba90ac406..457f1e930894a3c26217ddb4415b9dc8978459cf 100644 (file)
@@ -91,7 +91,7 @@ wxconfig = @wxconfig@
 wxlibs = @wxlibs@
 
 docs = ctsim.tex ctsim.bib texhelp.sty psbox.tex logo-huge.bmp tex2rtf.ini ctsim.hpj bullet.bmp verbatim.sty mytitle.sty makeidx.sty mysober.sty fancyhea.sty ctsim.bib 
-EXTRA_DIST = ${docs} 
+EXTRA_DIST = ${docs} ctsim.htb 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = ../config.h
 CONFIG_CLEAN_FILES = 
index 953ab6f3fbbc67a7ec5684b50c789435be7fe478..a2fede76dfbf0613903309dc169fc6402509fb29 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: ctsim.cpp,v 1.72 2001/02/09 22:09:38 kevin Exp $
+**  $Id: ctsim.cpp,v 1.73 2001/02/09 22:22:04 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -70,7 +70,7 @@
 #endif
 #endif
 
-static const char* rcsindent = "$Id: ctsim.cpp,v 1.72 2001/02/09 22:09:38 kevin Exp $";
+static const char* rcsindent = "$Id: ctsim.cpp,v 1.73 2001/02/09 22:22:04 kevin Exp $";
 
 struct option CTSimApp::ctsimOptions[] = 
 {
@@ -192,7 +192,12 @@ CTSimApp::OnInit()
        if (! m_pFrame->getHtmlHelpController().Initialize(helpDir + "/ctsim") &&
                ! m_pFrame->getHtmlHelpController().Initialize("/usr/local/man/ctsim"))
                *m_pLog << "Cannot initialize the HTML Help system" << "\n";
-       
+       else {
+           if (::wxDirExists ("/tmp"))
+               m_pFrame->getHtmlHelpController().SetTempDir(_T("/tmp"));
+           m_pFrame->getHtmlHelpController().UseConfig (m_pConfig);
+       }
+
        for (int i = optind + 1; i <= argc; i++) {
                wxString filename = argv [i - 1];
                m_docManager->CreateDocument (filename, wxDOC_SILENT);