summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-06-16 23:52:30 +0200
committerCarl Hetherington <cth@carlh.net>2025-12-12 22:08:01 +0100
commit444677ce626b99b241b714655e5e42007d3e8d32 (patch)
treebda90ded09e7f926d861e36abe6e940897377420 /src
parentc11629f74fb135208fcd15b71186f0a3c5f7bdc6 (diff)
A little const correctness.
Diffstat (limited to 'src')
-rw-r--r--src/wx/simple_video_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/simple_video_view.cc b/src/wx/simple_video_view.cc
index 3fbfe25cc..a1572dfc9 100644
--- a/src/wx/simple_video_view.cc
+++ b/src/wx/simple_video_view.cc
@@ -72,11 +72,11 @@ SimpleVideoView::paint ()
{
_state_timer.set("paint-panel");
wxPaintDC dc (_panel);
- auto scale = 1 / dpi_scale_factor (_panel);
+ auto const scale = 1 / dpi_scale_factor (_panel);
dc.SetLogicalScale (scale, scale);
auto const panel_size = dcp::Size(_panel->GetSize().GetWidth() / scale, _panel->GetSize().GetHeight() / scale);
- auto pad = pad_colour();
+ auto const pad = pad_colour();
dcp::Size out_size;
if (!_image) {