summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-04-17 01:56:26 +0200
committerCarl Hetherington <cth@carlh.net>2025-04-28 02:31:15 +0200
commit54588033edbd2451f1d01bffcfc9e0e2deef05d0 (patch)
tree5425b76526463f6bcdc90092b8a968c8345a32c0
parentfb1c15c5403abbf4ec967874daa518c71aa5477c (diff)
Add a const.
-rw-r--r--src/wx/simple_video_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/simple_video_view.cc b/src/wx/simple_video_view.cc
index c003be7b6..665cee117 100644
--- a/src/wx/simple_video_view.cc
+++ b/src/wx/simple_video_view.cc
@@ -72,7 +72,7 @@ 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);