projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31a3301
)
Fix thinko.
author
Carl Hetherington
<cth@carlh.net>
Thu, 9 Jun 2016 23:34:43 +0000
(
00:34
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 9 Jun 2016 23:34:43 +0000
(
00:34
+0100)
src/lib/subtitle_decoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/subtitle_decoder.cc
b/src/lib/subtitle_decoder.cc
index c0f402e2009688b2b6192fc60c7bd970b20ecb49..f129805d3ade43ad804f2fb5dfa0a57749e87fee 100644
(file)
--- a/
src/lib/subtitle_decoder.cc
+++ b/
src/lib/subtitle_decoder.cc
@@
-142,7
+142,7
@@
SubtitleDecoder::give_text (ContentTimePeriod period, sub::Subtitle const & subt
/* See if our next subtitle needs to be placed on screen by us */
bool needs_placement = false;
BOOST_FOREACH (sub::Line i, subtitle.lines) {
- if (!i.vertical_position.reference
&&
i.vertical_position.reference.get() == sub::TOP_OF_SUBTITLE) {
+ if (!i.vertical_position.reference
||
i.vertical_position.reference.get() == sub::TOP_OF_SUBTITLE) {
needs_placement = true;
}
}