projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
023dd1a
)
removed unnecessary screen redraws when waiting for events to continue
author
Holger Schemel
<info@artsoft.org>
Sun, 4 Oct 2020 23:12:51 +0000
(
01:12
+0200)
committer
Holger Schemel
<info@artsoft.org>
Sun, 4 Oct 2020 23:12:51 +0000
(
01:12
+0200)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index 50f6775bbaa2c6fc08129c04ebadcbd9efd4ad5e..af239591b40067a32c8fdd39cb0a1ae5ac229f6c 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-4245,7
+4245,8
@@
void WaitForEventToContinue(void)
still_wait = FALSE;
}
- BackToFront();
+ if (!PendingEvent())
+ BackToFront();
}
}