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:
joki 1998-06-29 21:35:27 +00:00
parent 4f5389f76c
commit b68afd8642

View File

@ -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;
}