diff options
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | src/lib/font_files.cc | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2015-11-29 Carl Hetherington <cth@carlh.net> + + * Possibly fix large memory use with burnt-in subtitles (#766). + 2015-11-28 Carl Hetherington <cth@carlh.net> * Version 2.5.11 released. diff --git a/src/lib/font_files.cc b/src/lib/font_files.cc index 65b67f7b3..61da986bf 100644 --- a/src/lib/font_files.cc +++ b/src/lib/font_files.cc @@ -24,9 +24,9 @@ operator!= (FontFiles const & a, FontFiles const & b) { for (int i = 0; i < FontFiles::VARIANTS; ++i) { if (a.get(static_cast<FontFiles::Variant>(i)) != b.get(static_cast<FontFiles::Variant>(i))) { - return false; + return true; } } - return true; + return false; } |
