From c30bdee5e3b4e494771538a050fa614ab6da7073 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 8 May 2007 21:22:21 +0000 Subject: cosmetic: use K&R coding style, as in reste of the file git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23276 b3059339-0415-0410-9bf9-f77b7e298cf2 --- command.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'command.c') diff --git a/command.c b/command.c index d857837507..f967ef55d9 100644 --- a/command.c +++ b/command.c @@ -1943,8 +1943,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd) tv_set_freq((tvi_handle_t *) (mpctx->demuxer->priv), cmd->args[0].v.f * 16.0); #ifdef HAVE_PVR - else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR) - { + else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR) { pvr_set_freq (mpctx->stream, ROUND (cmd->args[0].v.f)); set_osd_msg (OSD_MSG_TV_CHANNEL, 1, osd_duration, "%s: %s", pvr_get_current_channelname (mpctx->stream), @@ -1958,8 +1957,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd) tv_step_freq((tvi_handle_t *) (mpctx->demuxer->priv), cmd->args[0].v.f * 16.0); #ifdef HAVE_PVR - else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR) - { + else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR) { pvr_force_freq_step (mpctx->stream, ROUND (cmd->args[0].v.f)); set_osd_msg (OSD_MSG_TV_CHANNEL, 1, osd_duration, "%s: f %d", pvr_get_current_channelname (mpctx->stream), @@ -1994,8 +1992,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd) } #ifdef HAVE_PVR else if (mpctx->stream && - mpctx->stream->type == STREAMTYPE_PVR) - { + mpctx->stream->type == STREAMTYPE_PVR) { pvr_set_channel_step (mpctx->stream, cmd->args[0].v.i); set_osd_msg (OSD_MSG_TV_CHANNEL, 1, osd_duration, "%s: %s", pvr_get_current_channelname (mpctx->stream), @@ -2036,8 +2033,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd) } } #ifdef HAVE_PVR - else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR) - { + else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR) { pvr_set_channel (mpctx->stream, cmd->args[0].v.s); set_osd_msg (OSD_MSG_TV_CHANNEL, 1, osd_duration, "%s: %s", pvr_get_current_channelname (mpctx->stream), @@ -2075,8 +2071,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd) } } #ifdef HAVE_PVR - else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR) - { + else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR) { pvr_set_lastchannel (mpctx->stream); set_osd_msg (OSD_MSG_TV_CHANNEL, 1, osd_duration, "%s: %s", pvr_get_current_channelname (mpctx->stream), -- cgit v1.2.3