[MPlayer-cvslog] r24183 - trunk/command.c
diego
subversion at mplayerhq.hu
Sat Aug 25 18:15:46 CEST 2007
Author: diego
Date: Sat Aug 25 18:15:46 2007
New Revision: 24183
Log:
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.
Modified:
trunk/command.c
Modified: trunk/command.c
==============================================================================
--- trunk/command.c (original)
+++ trunk/command.c Sat Aug 25 18:15:46 2007
@@ -2744,8 +2744,8 @@ int run_command(MPContext * mpctx, mp_cm
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,
More information about the MPlayer-cvslog
mailing list