mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-26 21:44:22 +01:00
Correct pushEvent (how difficult can it be???)
This commit is contained in:
parent
ab534595f0
commit
db774b9856
@ -265,7 +265,8 @@ void Gui::pushEvent(SDL_Event *ev)
|
|||||||
{
|
{
|
||||||
GuiView *cur_view = this->peekView();
|
GuiView *cur_view = this->peekView();
|
||||||
|
|
||||||
if (this->is_active || !cur_view)
|
if (!this->is_active || !cur_view)
|
||||||
|
return;
|
||||||
cur_view->pushEvent(ev);
|
cur_view->pushEvent(ev);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user