[mythtv] [mythtv-commits] mythtv commit: r18315 by paulh

Dean Harding dean.harding at dload.com.au
Mon Sep 22 04:50:57 UTC 2008


Nigel Pearson wrote:
> Interesting. My first impulse was:
> 
> -    if (print_verbose_messages & VB_MEDIA+VB_EXTRA)
> +    if (print_verbose_messages & (VB_MEDIA+VB_EXTRA))
> 
> 
> but that still fails. I'm still trying to
> apply my mental AND-gate to work out why
> (and why cal's elegant version does work)

Surely it would depend on the integer value of VB_MEDIA and VB_EXTRA.

After all, (1 + 3) != (1 | 3)

Of course, I don't *know* the integer values of VB_MEDIA or VB_EXTRA...

Dean.



More information about the mythtv-dev mailing list