mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-10-01 19:56:21 +00:00
minor indentation cleanup
This commit is contained in:
parent
d2f175f5e6
commit
eee4282268
@ -158,7 +158,8 @@ void KeybQueueKeypress (int key, BOOL bASCII)
|
||||
|
||||
if (bASCII == ASCII)
|
||||
{
|
||||
if (bFreshReset && key == 0x03) {
|
||||
if (bFreshReset && key == 0x03)
|
||||
{
|
||||
bFreshReset = 0;
|
||||
return; // Swallow spurious CTRL-C caused by CTRL-BREAK
|
||||
}
|
||||
@ -167,16 +168,19 @@ void KeybQueueKeypress (int key, BOOL bASCII)
|
||||
return;
|
||||
|
||||
if (g_bApple2e)
|
||||
{
|
||||
if (g_bCapsLock && (key >= 'a') && (key <='z'))
|
||||
keycode = key - 32;
|
||||
else
|
||||
keycode = key;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (key >= '`')
|
||||
keycode = key - 32;
|
||||
else
|
||||
keycode = key;
|
||||
|
||||
}
|
||||
lastvirtkey = LOBYTE(VkKeyScan(key));
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user