quote:Original post by Anonymous Poster
You could, in fact do
if (ptr && ptr->enabled)
I don''t think I''ve ever compared ==true or ==false. At least not in a year..
or one step further.. when was the last time you were using NULL? not just because sometimes its not defined but also because of jokers hiding a #define NULL 1 in their header files *lol*