Skip to content

Commit

Permalink
mail_daemon DeskbarView: init fLastButtons
Browse files Browse the repository at this point in the history
CID 610256
  • Loading branch information
stpere committed Jul 3, 2015
1 parent e04f294 commit f6662e3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/servers/mail/DeskbarView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ BView* instantiate_deskbar_item(void)
DeskbarView::DeskbarView(BRect frame)
:
BView(frame, "mail_daemon", B_FOLLOW_NONE, B_WILL_DRAW | B_PULSE_NEEDED),
fStatus(kStatusNoMail)
fStatus(kStatusNoMail),
fLastButtons(0)
{
_InitBitmaps();
}
Expand All @@ -104,7 +105,8 @@ DeskbarView::DeskbarView(BRect frame)
DeskbarView::DeskbarView(BMessage *message)
:
BView(message),
fStatus(kStatusNoMail)
fStatus(kStatusNoMail),
fLastButtons(0)
{
_InitBitmaps();
}
Expand Down

0 comments on commit f6662e3

Please sign in to comment.