mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 911463 Fix wrong cast in nsDOMUIEvent::IsChar() const r=smaug
This commit is contained in:
parent
2d304efc08
commit
b117039209
@ -348,7 +348,7 @@ nsDOMUIEvent::IsChar() const
|
||||
case NS_KEY_EVENT:
|
||||
return static_cast<nsKeyEvent*>(mEvent)->isChar;
|
||||
case NS_TEXT_EVENT:
|
||||
return static_cast<nsKeyEvent*>(mEvent)->isChar;
|
||||
return static_cast<nsTextEvent*>(mEvent)->isChar;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user