mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix typo found by coverity
We were not testing for the right end(), although it is not sure that an actual bug could be triggered because of that.
This commit is contained in:
parent
25d64bf43a
commit
dc126bad04
@ -433,7 +433,7 @@ string Formats::getFormatFromFile(FileName const & filename) const
|
||||
Formats::const_iterator cit =
|
||||
find_if(formatlist.begin(), formatlist.end(),
|
||||
FormatMimeEqual(mime));
|
||||
if (cit != formats.end()) {
|
||||
if (cit != formatlist.end()) {
|
||||
LYXERR(Debug::GRAPHICS, "\tgot format from MIME type: "
|
||||
<< mime << " -> " << cit->name());
|
||||
// See special eps/ps handling below
|
||||
|
Loading…
Reference in New Issue
Block a user