projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
renamed function 'WaitEventFiltered' to 'WaitValidEvent'
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index 209c4e23681915bd412b2d1f3a209538a2a4e25c..43df704a17ea08c8301600f8276b3b75b79263c2 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-3777,12
+3777,10
@@
void WaitForEventToContinue()
while (still_wait)
{
- if (PendingEvent())
- {
- Event event;
-
- NextEvent(&event);
+ Event event;
+ if (NextValidEvent(&event))
+ {
switch (event.type)
{
case EVENT_BUTTONPRESS: