[openbeos] Re: B_TRUE/B_FALSE

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Tue, 30 Sep 2003 01:44:48 +0200 CEST

Tyler Dauwalder <tyler@xxxxxxxxxxxxx> wrote:
> > boolstatus_t resizeStatus = partition->IsResizable();
> > if (resizeStatus < B_OK)
> >     return resizeStatus;
> > 
> > if (resizeStatus == B_TRUE)
> >     isResizable = true;
> > else
> >     isResizable = false;
> > ...
> 
> Well, "isResizable = resizeStatus == B_TRUE;" works just as well. :-P

Yeah, I know, but wouldn't have made my point as clear ;-))

Bye,
   Axel.


Other related posts: