UI: Zero initialize EventParams in typical usage.

Better to be safe.
This commit is contained in:
Unknown W. Brackets 2017-03-21 18:34:52 -07:00
parent 31e831a564
commit 4fb8ac96ce
9 changed files with 29 additions and 26 deletions

View file

@ -119,7 +119,7 @@ EventReturn RatingChoice::OnChoiceClick(EventParams &e) {
}
}
EventParams e2;
EventParams e2{};
e2.v = e.v;
e2.a = *value_;
// Dispatch immediately (we're already on the UI thread as we're in an event handler).