зеркало из https://github.com/mozilla/gecko-dev.git
Oops, removing ^M characters. Fixing IRIX bustage.
This commit is contained in:
Родитель
c8aef61acf
Коммит
c5358b6362
|
@ -175,9 +175,10 @@ nsTextEditorKeyListener::KeyPress(nsIDOMEvent* aKeyEvent)
|
||||||
}
|
}
|
||||||
|
|
||||||
// DOM event handling happens in two passes, the client pass and the system
|
// DOM event handling happens in two passes, the client pass and the system
|
||||||
// pass. We do all of our processing in the system pass, to allow client handlers
|
// pass. We do all of our processing in the system pass, to allow client
|
||||||
// the opporunity to cancel events and prevent typing in the editor. If the client
|
// handlers the opporunity to cancel events and prevent typing in the editor.
|
||||||
// pass cancelled the event, defaultPrevented will be true below.
|
// If the client pass cancelled the event, defaultPrevented will be true
|
||||||
|
// below.
|
||||||
|
|
||||||
nsCOMPtr<nsIDOMNSUIEvent> nsUIEvent = do_QueryInterface(aKeyEvent);
|
nsCOMPtr<nsIDOMNSUIEvent> nsUIEvent = do_QueryInterface(aKeyEvent);
|
||||||
if(nsUIEvent)
|
if(nsUIEvent)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче