Small change to editor keyCode translation
git-svn-id: svn://10.0.0.236/trunk@4673 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
4f5389f76c
commit
b68afd8642
@ -78,7 +78,7 @@ nsresult nsEditorKeyListener::GetCharFromKeyCode(PRUint32 aKeyCode, PRBool aIsSh
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
else if (aKeyCode >= 0x30 && aKeyCode <= 0x39) {
|
||||
else if ((aKeyCode >= 0x30 && aKeyCode <= 0x39) || aKeyCode == 0x20) {
|
||||
*aChar = (char)aKeyCode;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user