summaryrefslogtreecommitdiffstats
path: root/src/diagram.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/diagram.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/diagram.cpp')
-rw-r--r--src/diagram.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/diagram.cpp b/src/diagram.cpp
index e8dc83a..cce06ab 100644
--- a/src/diagram.cpp
+++ b/src/diagram.cpp
@@ -1101,8 +1101,7 @@ void ClassDiagram::writeFigure(FTextStream &output,const char *path,
f1.setName(epsName.data());
if (!f1.open(IO_WriteOnly))
{
- err("Could not open file %s for writing\n",f1.name().data());
- exit(1);
+ term(1,"Could not open file %s for writing\n",f1.name().data());
}
FTextStream t(&f1);