13
0

Fix uninitialized argument value

TrimDrag::aborted() -> TrimDrag::finished() -> TrimDrag::motion ()
uses event->button.state
This commit is contained in:
Robin Gareus 2019-08-20 04:06:31 +02:00
parent 2dae4fc5e1
commit a1b0991d26
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -3197,6 +3197,7 @@ TrimDrag::aborted (bool movement_occurred)
*/
GdkEvent ev;
memset (&ev, 0, sizeof (GdkEvent));
finished (&ev, true);
if (movement_occurred) {