summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'command.c')
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index 7db6894360..5d42c606e0 100644
--- a/command.c
+++ b/command.c
@@ -2744,8 +2744,8 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd)
rescale_input_coordinates(pointer_x, pointer_y, &dx, &dy);
#ifdef USE_DVDNAV
if (mpctx->stream->type == STREAMTYPE_DVDNAV
- int button = -1;
&& dx > 0.0 && dy > 0.0) {
+ int button = -1;
pointer_x = (int) (dx * (double) sh_video->disp_w);
pointer_y = (int) (dy * (double) sh_video->disp_h);
mp_dvdnav_update_mouse_pos(mpctx->stream,