projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd76336
)
Remove debug code.
author
Carl Hetherington
<cth@carlh.net>
Sun, 22 Jul 2018 23:18:17 +0000
(
00:18
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 22 Jul 2018 23:18:17 +0000
(
00:18
+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 be520057b81a4b46cf543442b52aef7b30411daa..3463ac27a7e1e35479dd3ae16c09180a1b5dc4fc 100644
(file)
--- a/
src/wx/closed_captions_dialog.cc
+++ b/
src/wx/closed_captions_dialog.cc
@@
-60,11
+60,7
@@
ClosedCaptionsDialog::paint ()
dc.SetFont (font);
for (int i = 0; i < _num_lines; ++i) {
- if (_lines[i].IsEmpty()) {
- dc.DrawText (wxString::Format("Line %d", i + 1), 8, line_height * i);
- } else {
- dc.DrawText (_lines[i], 8, line_height * i);
- }
+ dc.DrawText (_lines[i], 8, line_height * i);
}
}