diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-02-04 17:33:47 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-02-04 17:33:47 +0100 |
| commit | 32bb675c45d8d7582f11851563ea3216f60ee319 (patch) | |
| tree | aea17f58a0ae5e8d71b4d053a78ce5885b42ebb6 /src | |
| parent | 8c69ddde092048f848e4614ffe269651475ba2b0 (diff) | |
Speculative fix for incorrect rendering of UTF-8 in closed captions in the player.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/closed_captions_dialog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/closed_captions_dialog.cc b/src/wx/closed_captions_dialog.cc index 491a6fb1e..e386beccf 100644 --- 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; } |
