Re: Invisible files (was Re: Small problem)
Re: Invisible files (was Re: Small problem)
- Subject: Re: Invisible files (was Re: Small problem)
- From: David Sinclair <email@hidden>
- Date: Sat, 14 Jun 2003 15:16:54 -0700
On Saturday, Jun 14, 2003, at 14:53 US/Pacific, Jesus De Meyer wrote:
BOOL fileVisible = !(invisibleFlag && invisibleName);
This line is your problem. It will evaluate true unless both the flag
and name are true.
Instead, change it to:
BOOL fileVisible = !invisibleFlag && !invisibleName;
or to:
BOOL fileVisible = !(invisibleFlag || invisibleName);
(Either is fine; which you use depends on your aesthetics.)
--
David Sinclair, Dejal Systems, LLC - email@hidden
Let Dejal Simon keep an eye on your sites for changes or failures!
http://www.dejal.com/simon/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.