[MPlayer-cvslog] r32896 - trunk/gui/skin/font.c

Ingo Brückl ib at wupperonline.de
Sun Feb 13 13:42:37 CET 2011


Reimar Döffinger wrote on Sun, 13 Feb 2011 12:41:38 +0100:

> On Sat, Feb 12, 2011 at 11:15:18PM +0100, ib wrote:
>> + if (item->Bitmap.Image && (item->height != th))

> Useless pair of ()

Yeah, I know but I like using these parentheses in the context of boolean or
integer variables and such if one part of the expression is compound, for
example:

if (a && (b != c))
d = (e == f)
g = (h ? i : j)

Easier for my eyes to catch what's meant.


More information about the MPlayer-cvslog mailing list