Mercurial > mplayer.hg
changeset 21198:fbe50a67612a
COSMETICS: consistently reformatted after ben's mess
author | nicodvb |
---|---|
date | Sat, 25 Nov 2006 12:19:15 +0000 |
parents | 7ecd9de03435 |
children | 92977b0a5515 |
files | stream/stream_dvdnav.c |
diffstat | 1 files changed, 4 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/stream_dvdnav.c Sat Nov 25 12:17:34 2006 +0000 +++ b/stream/stream_dvdnav.c Sat Nov 25 12:19:15 2006 +0000 @@ -111,22 +111,20 @@ return priv; } -static void dvdnav_get_highlight (dvdnav_priv_t *priv, - dvdnav_highlight_event_t *hlev, - int display_mode) { +static void dvdnav_get_highlight (dvdnav_priv_t *priv, dvdnav_highlight_event_t *hlev, int display_mode) { pci_t *pnavpci = NULL; int btnum = -1; - + if (!priv || !priv->dvdnav || !hlev) return; pnavpci = dvdnav_get_current_nav_pci (priv->dvdnav); if (!pnavpci) return; - + dvdnav_get_current_highlight (priv->dvdnav, &(hlev->buttonN)); hlev->display = display_mode; /* show */ - + if (hlev->buttonN > 0 && pnavpci->hli.hl_gi.btn_ns > 0 && hlev->display) { for (btnum = 0; btnum < pnavpci->hli.hl_gi.btn_ns; btnum++) { btni_t *btni = &(pnavpci->hli.btnit[btnum]);