summaryrefslogtreecommitdiffstats
path: root/src/formula.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-12-22 15:43:21 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-12-22 15:43:21 (GMT)
commit0ea72fdd522e6bc3bc442e7d2ae40e7607546e55 (patch)
treef6db48d3500b0c68464be9fe92ca1eb8a193427b /src/formula.cpp
parent369c65635de29af6fd92c835879d70fdac7d2270 (diff)
parent146bec22e9ff91e8274becd719149f7ab9c7cfb9 (diff)
downloadDoxygen-0ea72fdd522e6bc3bc442e7d2ae40e7607546e55.zip
Doxygen-0ea72fdd522e6bc3bc442e7d2ae40e7607546e55.tar.gz
Doxygen-0ea72fdd522e6bc3bc442e7d2ae40e7607546e55.tar.bz2
Merge branch 'feature/bug_terminate' of https://github.com/albert-github/doxygen into albert-github-feature/bug_terminate
Diffstat (limited to 'src/formula.cpp')
-rw-r--r--src/formula.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/formula.cpp b/src/formula.cpp
index c884eba..d74681a 100644
--- a/src/formula.cpp
+++ b/src/formula.cpp
@@ -51,7 +51,10 @@ void FormulaList::generateBitmaps(const char *path)
int x1,y1,x2,y2;
QDir d(path);
// store the original directory
- if (!d.exists()) { err("Output dir %s does not exist!\n",path); exit(1); }
+ if (!d.exists())
+ {
+ term(1,"Output dir %s does not exist!\n",path);
+ }
QCString oldDir = QDir::currentDirPath().utf8();
// go to the html output directory (i.e. path)
QDir::setCurrent(d.absPath());