projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c69ddd
)
Speculative fix for incorrect rendering of UTF-8 in closed captions in the player.
author
Carl Hetherington
<cth@carlh.net>
Thu, 4 Feb 2021 16:33:47 +0000
(17:33 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 4 Feb 2021 16:33:47 +0000
(17:33 +0100)
src/wx/closed_captions_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/closed_captions_dialog.cc
b/src/wx/closed_captions_dialog.cc
index 491a6fb1e4a8dfeb32e76dbcee2130635ef20105..e386beccf1938462d181c36a9074d02d5986b92a 100644
(file)
--- a/
src/wx/closed_captions_dialog.cc
+++ b/
src/wx/closed_captions_dialog.cc
@@
-201,7
+201,7
@@
ClosedCaptionsDialog::update ()
auto j = to_show.begin();
int k = 0;
while (j != to_show.end() && k < MAX_CLOSED_CAPTION_LINES) {
- _lines[k] =
j->text(
);
+ _lines[k] =
std_to_wx (j->text()
);
++j;
++k;
}