Fix a typo in my last commit.

This commit is contained in:
Mark de Wever 2009-01-03 15:45:16 +00:00
parent 67eb8f986e
commit 9447fc7288

View File

@ -429,7 +429,7 @@ void tevent_handler::mouse_leave(
remove_help_popup();
tcontrol* control = dynamic_cast<tcontrol*>(mouse_focus_);
if(!control && control->get_active()) {
if(control && control->get_active()) {
mouse_focus_->mouse_leave(*this);
}
mouse_focus_ = 0;