diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-25 16:15:46 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-25 16:15:46 +0000 |
commit | 2c57acb2797afc58b76770a0c984fc3a24baa697 (patch) | |
tree | da9e3a78886e833d5b1cec8b83a3919e319e5eaf /command.c | |
parent | 11dbdc22dbe55792fb7467419aca6ada3e9d5a86 (diff) | |
download | mpv-2c57acb2797afc58b76770a0c984fc3a24baa697.tar.bz2 mpv-2c57acb2797afc58b76770a0c984fc3a24baa697.tar.xz |
Extract a poor int declaration from within the uncouth grip of an if statement
where it lay stranded in violation of both syntax and decency.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24183 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |