# HG changeset patch # User nicodvb # Date 1164457155 0 # Node ID fbe50a67612ac0e0d1ee68b401ecc2f36b4b80dc # Parent 7ecd9de0343560dff1a26c8e69faa33fbec15eb5 COSMETICS: consistently reformatted after ben's mess diff -r 7ecd9de03435 -r fbe50a67612a stream/stream_dvdnav.c --- 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]);