[haiku-commits] Re: r41156 - haiku/trunk/src/apps/deskbar

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 1 Apr 2011 13:38:54 +0200 (MEST)

Hi Jérôme,

Jérôme Duval<korli@xxxxxxxxxxxxxxxx> wrote:
> 2011/3/31  <axeld@xxxxxxxxxxxxxxxx>:
> > +                       _UpdateDate(date.Year(), date.Month()
> > +                               + (kMonthDownMessage == message->what ? -1
> : 1), date.Day());
> BDate::AddMonths()/AddYears()/AddDays() maybe could have been used.
> I'm not sure if this applies well though.

I wasn't aware of those methods; they actually are the appropriate solution 
here indeed, thanks for the note!
I'll try to fix it in the next couple of days.

Bye,
   Axel.


Other related posts: