mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
Keyboard driver should not translate \r to \n
svn path=/trunk/; revision=1553
This commit is contained in:
parent
f353289fba
commit
3f694e507f
1 changed files with 2 additions and 2 deletions
|
@ -314,7 +314,7 @@ static BYTE VirtualToAscii(WORD keyCode,BOOL isDown)
|
|||
case VK_BACK:
|
||||
return 127;
|
||||
case VK_RETURN:
|
||||
return 10;
|
||||
return '\r';
|
||||
case 219: /* [ */
|
||||
if (ctrlKeyState & SHIFT_PRESSED)
|
||||
return 0;
|
||||
|
@ -370,7 +370,7 @@ static BYTE VirtualToAscii(WORD keyCode,BOOL isDown)
|
|||
case VK_SPACE:
|
||||
return ' ';
|
||||
case VK_RETURN:
|
||||
return '\n';
|
||||
return '\r';
|
||||
case VK_BACK:
|
||||
return 8;
|
||||
case VK_TAB:
|
||||
|
|
Loading…
Reference in a new issue