r21214 - trunk/stream/stream_dvdnav.c
Author: nicodvb Date: Sat Nov 25 13:19:15 2006 New Revision: 21214 Modified: trunk/stream/stream_dvdnav.c Log: COSMETICS: consistently reformatted after ben's mess Modified: trunk/stream/stream_dvdnav.c ============================================================================== --- trunk/stream/stream_dvdnav.c (original) +++ trunk/stream/stream_dvdnav.c Sat Nov 25 13:19:15 2006 @@ -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]);
participants (1)
-
nicodvb