diff options
author | albert-github <albert.tests@gmail.com> | 2019-05-14 16:34:25 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-05-14 16:34:25 (GMT) |
commit | b19c33eb164e4791c538f426f06f761b97961e64 (patch) | |
tree | 03e3aa74982ca182f1ec08e8c1b249ccfbace017 /src/doxygen.cpp | |
parent | fc73eb94348ca6f567334d1c0f08d0f3b860d081 (diff) | |
download | Doxygen-b19c33eb164e4791c538f426f06f761b97961e64.zip Doxygen-b19c33eb164e4791c538f426f06f761b97961e64.tar.gz Doxygen-b19c33eb164e4791c538f426f06f761b97961e64.tar.bz2 |
Don't try to load htags filemap in case htags fails
Don't try to load htags filemap in case htags fails as when a wrong / old filemap is lying around this leads / can lead to incorrect results
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index dd32a8e..983eeb7 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -11690,7 +11690,7 @@ void generateOutput() QCString htmldir = Config_getString(HTML_OUTPUT); if (!Htags::execute(htmldir)) err("USE_HTAGS is YES but htags(1) failed. \n"); - if (!Htags::loadFilemap(htmldir)) + else if (!Htags::loadFilemap(htmldir)) err("htags(1) ended normally but failed to load the filemap. \n"); } |