[SDL] [OT] "Text has zero width" isn't an error.
pphaneuf at gmail.com
Thu Apr 9 13:10:48 PDT 2009
On Thu, Apr 9, 2009 at 3:30 PM, Mason Wheeler <masonwheeler at yahoo.com> wrote:
>>Line 7 of foo.c, dead on. This works even if x arrived through a
>>number of copies, such as passing it through parameters, etc...
> OK... that's just weird. I've never seen an uninitialized variable get
> initialized via self-OR instead of assignment. When is that done in
> real-world code?
I think this can happen with SDL surface flags, for example, if I'm
not mistaken. You'd have to pass in an uninitialized flag parameter,
but bugs happen...
More information about the SDL