update header comment email; sync bug fixes into 'mc' version
parent
08dc9c445d
commit
3638407c42
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
** Win32 Custom Window Example Program
|
||||
** v1.3.0 - May 8th 2020
|
||||
** by Allen Webster allenwebster@4coder.net
|
||||
** v1.3.1 - Jan 19th 2024
|
||||
** by Allen Webster allenw@mr4th.com
|
||||
**
|
||||
** public domain example program
|
||||
** NO WARRANTY IMPLIED; USE AT YOUR OWN RISK
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
** Win32 Custom Window Example Program
|
||||
** v1.2 - April 30th 2020
|
||||
** by Allen Webster allenwebster@4coder.net
|
||||
** v1.3.1 - Jan 19th 2024
|
||||
** by Allen Webster allenw@mr4th.com
|
||||
**
|
||||
** public domain example program
|
||||
** NO WARRANTY IMPLIED; USE AT YOUR OWN RISK
|
||||
|
@ -393,6 +393,9 @@ HasEvent(Input *input, Input_Event_Kind kind){
|
|||
if (event->kind == kind){
|
||||
result = 1;
|
||||
*ptr_to = next;
|
||||
if (event == input->last_event){
|
||||
input->last_event = last;
|
||||
}
|
||||
break;
|
||||
}
|
||||
else{
|
||||
|
@ -400,7 +403,6 @@ HasEvent(Input *input, Input_Event_Kind kind){
|
|||
last = event;
|
||||
}
|
||||
}
|
||||
input->last_event = last;
|
||||
}
|
||||
return(result);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue