(svn r16463) -Cleanup: Code style fixes.

This commit is contained in:
alberth
2009-05-30 11:01:05 +00:00
parent b3ce805206
commit feaaf78a63
3 changed files with 7 additions and 7 deletions

View File

@@ -1072,11 +1072,11 @@ bool HandleCaret(Textbuf *tb)
bool QueryString::HasEditBoxFocus(const Window *w, int wid) const
{
return ((w->window_class == WC_OSK &&
return (w->window_class == WC_OSK &&
_focused_window == w->parent &&
w->parent->focused_widget &&
w->parent->focused_widget != NULL &&
w->parent->focused_widget->type == WWT_EDITBOX) ||
w->IsWidgetGloballyFocused(wid));
w->IsWidgetGloballyFocused(wid);
}
HandleEditBoxResult QueryString::HandleEditBoxKey(Window *w, int wid, uint16 key, uint16 keycode, Window::EventState &state)