summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-12-24 00:45:29 +0100
committerCarl Hetherington <cth@carlh.net>2025-12-24 01:22:03 +0100
commit9e4fdee9dcf7ca861ac1b4e7573d6804cf5415a0 (patch)
treea846665cb627d37a3ab42119c051acc1dc2e84b1
parentba26c992edf4578c529d40cc526eb31a55d11876 (diff)
DROPME: Crash when dragging content.
-rw-r--r--src/wx/content_timeline.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wx/content_timeline.cc b/src/wx/content_timeline.cc
index a595577d8..e9a008ea3 100644
--- a/src/wx/content_timeline.cc
+++ b/src/wx/content_timeline.cc
@@ -796,6 +796,9 @@ ContentTimeline::maybe_snap(DCPTime a, DCPTime b, optional<DCPTime>& nearest_dis
void
ContentTimeline::set_position_from_event(wxMouseEvent& ev, bool force_emit)
{
+ int* crash = 0;
+ *crash = 42;
+
if (!_pixels_per_second) {
return;
}