mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-26 05:31:30 +00:00
minor indentation cleanup
This commit is contained in:
parent
d2f175f5e6
commit
eee4282268
@ -157,26 +157,30 @@ void KeybQueueKeypress (int key, BOOL bASCII)
|
|||||||
static bool bFreshReset;
|
static bool bFreshReset;
|
||||||
|
|
||||||
if (bASCII == ASCII)
|
if (bASCII == ASCII)
|
||||||
{
|
{
|
||||||
if (bFreshReset && key == 0x03) {
|
if (bFreshReset && key == 0x03)
|
||||||
|
{
|
||||||
bFreshReset = 0;
|
bFreshReset = 0;
|
||||||
return; // Swallow spurious CTRL-C caused by CTRL-BREAK
|
return; // Swallow spurious CTRL-C caused by CTRL-BREAK
|
||||||
}
|
}
|
||||||
bFreshReset = 0;
|
bFreshReset = 0;
|
||||||
if (key > 0x7F)
|
if (key > 0x7F)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (g_bApple2e)
|
if (g_bApple2e)
|
||||||
if (g_bCapsLock && (key >= 'a') && (key <='z'))
|
{
|
||||||
keycode = key - 32;
|
if (g_bCapsLock && (key >= 'a') && (key <='z'))
|
||||||
else
|
keycode = key - 32;
|
||||||
keycode = key;
|
|
||||||
else
|
|
||||||
if (key >= '`')
|
|
||||||
keycode = key - 32;
|
|
||||||
else
|
else
|
||||||
keycode = key;
|
keycode = key;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (key >= '`')
|
||||||
|
keycode = key - 32;
|
||||||
|
else
|
||||||
|
keycode = key;
|
||||||
|
}
|
||||||
lastvirtkey = LOBYTE(VkKeyScan(key));
|
lastvirtkey = LOBYTE(VkKeyScan(key));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -190,7 +194,7 @@ void KeybQueueKeypress (int key, BOOL bASCII)
|
|||||||
DiskReset();
|
DiskReset();
|
||||||
KeybReset();
|
KeybReset();
|
||||||
if (g_bApple2e)
|
if (g_bApple2e)
|
||||||
VideoResetState(); // Switch Alternate char set off
|
VideoResetState(); // Switch Alternate char set off
|
||||||
MB_Reset();
|
MB_Reset();
|
||||||
|
|
||||||
#ifndef KEY_OLD
|
#ifndef KEY_OLD
|
||||||
|
Loading…
Reference in New Issue
Block a user