[haiku-commits] Re: r35872 - haiku/trunk/src/apps/bootman

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 16 Mar 2010 10:42:14 +0100

michael.w.pfeiffer@xxxxxxxxx wrote:
>       buffer[biosTextLength] = '\0';
> -     biosTextLength ++;
>       biosText.UnlockBuffer(biosTextLength);
>       return biosTextLength <= kMaxBootMenuItemLength;

Shouldn't that be:
        return biosTextLength < kMaxBootMenuItemLength; 

Then?

Bye,
   Axel.


Other related posts: