diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-22 17:48:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-22 17:48:17 (GMT) |
commit | d244b46490a6c5e1d9179c46683811ad56557809 (patch) | |
tree | 696d43a393d5a2785448e0dcb0566f57a000b70c /src/htmlhelp.cpp | |
parent | a6da9a48ad520206462632496fc4c83d72bffe5a (diff) | |
parent | 786f8c9d2b55ebcde9e2702fc9dfc8ab1e4609b6 (diff) | |
download | Doxygen-d244b46490a6c5e1d9179c46683811ad56557809.zip Doxygen-d244b46490a6c5e1d9179c46683811ad56557809.tar.gz Doxygen-d244b46490a6c5e1d9179c46683811ad56557809.tar.bz2 |
Merge branch 'master' into feature/bug_550158
Diffstat (limited to 'src/htmlhelp.cpp')
-rw-r--r-- | src/htmlhelp.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/htmlhelp.cpp b/src/htmlhelp.cpp index 20cb6ca..066e6f7 100644 --- a/src/htmlhelp.cpp +++ b/src/htmlhelp.cpp @@ -93,7 +93,7 @@ HtmlHelpIndex::~HtmlHelpIndex() } /*! Stores an item in the index if it is not already present. - * Items are stored in alphetical order, by sorting on the + * Items are stored in alphabetical order, by sorting on the * concatenation of \a level1 and \a level2 (if present). * * \param level1 the string at level 1 in the index. @@ -308,8 +308,7 @@ void HtmlHelp::initialize() m_fromUtf8 = portable_iconv_open(str,"UTF-8"); if (m_fromUtf8==(void *)(-1)) { - err("unsupported character conversion for CHM_INDEX_ENCODING: '%s'->'UTF-8'\n", str); - exit(1); + term("unsupported character conversion for CHM_INDEX_ENCODING: '%s'->'UTF-8'\n", str); } /* open the contents file */ @@ -317,8 +316,7 @@ void HtmlHelp::initialize() cf = new QFile(fName); if (!cf->open(IO_WriteOnly)) { - err("Could not open file %s for writing\n",fName.data()); - exit(1); + term("Could not open file %s for writing\n",fName.data()); } /* Write the header of the contents file */ cts.setDevice(cf); @@ -334,8 +332,7 @@ void HtmlHelp::initialize() kf = new QFile(fName); if (!kf->open(IO_WriteOnly)) { - err("Could not open file %s for writing\n",fName.data()); - exit(1); + term("Could not open file %s for writing\n",fName.data()); } /* Write the header of the contents file */ kts.setDevice(kf); |