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

Dean Harding dean.harding at dload.com.au
Mon Sep 22 06:44:18 UTC 2008


cal wrote:
> Daniel Kristjansson wrote:
>> I'd do this:
>> +    if ((print_verbose_messages & (VB_MEDIA|VB_EXTRA)) ==
>> +        VB_MEDIA|VB_EXTRA)
>>
>> Cal, I think your version always returns false...
>>  VB_MEDIA&VB_EXTRA => 0
> 
> also, VB_MEDIA|VB_EXTRA == VB_MEDIA+VB_EXTRA.

Also, (VB_MEDIA & VB_EXTRA) == 0

I think Daniel is right. It's funny how it's so easy to get caught up in
what should be trivial stuff :-)

Dean.



More information about the mythtv-dev mailing list