Improve debug output

Now we have only one line per format, not two. The output looks the same now
as in GuiApplication.cpp for the qt formats.
This commit is contained in:
Georg Baum 2016-06-02 22:17:19 +02:00
parent 9151a008a7
commit d2424c6998

View File

@ -94,11 +94,8 @@ vector<string> const & Cache::loadableFormats() const
vector<string>::const_iterator fbegin = fmts.begin();
vector<string>::const_iterator fend = fmts.end();
for (vector<string>::const_iterator fit = fbegin; fit != fend; ++fit) {
if (fit != fbegin)
LYXERR(Debug::GRAPHICS, ", ");
LYXERR(Debug::GRAPHICS, *fit);
LYXERR(Debug::GRAPHICS, *fit << ',');
}
LYXERR(Debug::GRAPHICS, '\n');
}
return fmts;