projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix incorrect preview of italic subtitles (#728).
[dcpomatic.git]
/
src
/
lib
/
player_subtitles.cc
diff --git
a/src/lib/player_subtitles.cc
b/src/lib/player_subtitles.cc
index da5714349752c3c1ec45cfd5da30f96271d6627b..8838b2f64bd929d4818151094fe61bf323bf9d27 100644
(file)
--- a/
src/lib/player_subtitles.cc
+++ b/
src/lib/player_subtitles.cc
@@
-30,7
+30,7
@@
PlayerSubtitles::add_fonts (list<shared_ptr<Font> > fonts_)
BOOST_FOREACH (shared_ptr<Font> i, fonts_) {
bool got = false;
BOOST_FOREACH (shared_ptr<Font> j, fonts) {
- if (
i->file() == j->file()
) {
+ if (
*i == *j
) {
got = true;
}
}