Fix uninitialized argument value
TrimDrag::aborted() -> TrimDrag::finished() -> TrimDrag::motion () uses event->button.state
This commit is contained in:
parent
2dae4fc5e1
commit
a1b0991d26
@ -3197,6 +3197,7 @@ TrimDrag::aborted (bool movement_occurred)
|
||||
*/
|
||||
|
||||
GdkEvent ev;
|
||||
memset (&ev, 0, sizeof (GdkEvent));
|
||||
finished (&ev, true);
|
||||
|
||||
if (movement_occurred) {
|
||||
|
Loading…
Reference in New Issue
Block a user