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

Ingo Brückl ib at wupperonline.de
Wed Feb 16 18:40:17 CET 2011


Clément Boesch wrote on Wed, 16 Feb 2011 18:28:40 +0100:

>> +bmpFont * Fonts[MAX_FONTS] = {};
>>

> You must put a zero in it, or else the behaviour is compiler-specific.

Sure? (I suppose you are.)

K&R say: If there are fewer initializers for an array than the specified
size, the others will be zero [...]

No initializers seemed the fewest possible to me.

Ingo


More information about the MPlayer-cvslog mailing list