Mercurial > projects > dwt-win
changeset 259:dab11c87b97e
minor indention
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 20 Jul 2008 23:22:53 +0200 |
parents | cb5dd561de90 |
children | f617e6ba3055 91eec9fa94de |
files | dwt/widgets/Display.d |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/dwt/widgets/Display.d Sun Jul 20 23:18:31 2008 +0200 +++ b/dwt/widgets/Display.d Sun Jul 20 23:22:53 2008 +0200 @@ -3386,9 +3386,9 @@ } } inputs.dwFlags = type is DWT.KeyUp ? OS.KEYEVENTF_KEYUP : 0; - auto hHeap = OS.GetProcessHeap (); - auto pInputs = cast(INPUT*) OS.HeapAlloc (hHeap, OS.HEAP_ZERO_MEMORY, INPUT.sizeof); - pInputs.type = OS.INPUT_KEYBOARD; + auto hHeap = OS.GetProcessHeap (); + auto pInputs = cast(INPUT*) OS.HeapAlloc (hHeap, OS.HEAP_ZERO_MEMORY, INPUT.sizeof); + pInputs.type = OS.INPUT_KEYBOARD; //TODO - DWORD type of INPUT structure aligned to 8 bytes on 64 bit pInputs.ki = inputs; //OS.MoveMemory (pInputs + 4, inputs, KEYBDINPUT.sizeof);