projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8131291
)
Thinko in previous.
author
Carl Hetherington
<cth@carlh.net>
Wed, 24 Jun 2015 15:56:22 +0000
(16:56 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 24 Jun 2015 15:56:22 +0000
(16:56 +0100)
src/interop_subtitle_asset.cc
patch
|
blob
|
history
diff --git
a/src/interop_subtitle_asset.cc
b/src/interop_subtitle_asset.cc
index a3850f0408b7b02137336b61449e8d86c16fdee6..620fed7362d6d1bc206d20326d7de8ab27219506 100644
(file)
--- a/
src/interop_subtitle_asset.cc
+++ b/
src/interop_subtitle_asset.cc
@@
-164,7
+164,7
@@
InteropSubtitleAsset::write (boost::filesystem::path p) const
throw FileError ("could not open font file for writing", file, errno);
}
list<Font>::const_iterator j = _fonts.begin ();
- while (j->load_id != i->id) {
+ while (j
!= _fonts.end() && j
->load_id != i->id) {
++j;
}
if (j != _fonts.end ()) {