From b68afd86420fe6fb7dbae3b00a1896dbbf902cd8 Mon Sep 17 00:00:00 2001 From: joki Date: Mon, 29 Jun 1998 21:35:27 +0000 Subject: [PATCH] Small change to editor keyCode translation git-svn-id: svn://10.0.0.236/trunk@4673 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webshell/tests/viewer/nsEditorInterfaces.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/webshell/tests/viewer/nsEditorInterfaces.cpp b/mozilla/webshell/tests/viewer/nsEditorInterfaces.cpp index 39a2a2fdd0a..a8ae0173432 100644 --- a/mozilla/webshell/tests/viewer/nsEditorInterfaces.cpp +++ b/mozilla/webshell/tests/viewer/nsEditorInterfaces.cpp @@ -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; }