projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe3ae8e
)
fixed bug with clearing gadget info text area for unmapped gadgets
author
Holger Schemel
<info@artsoft.org>
Thu, 9 Feb 2017 20:20:05 +0000
(21:20 +0100)
committer
Holger Schemel
<info@artsoft.org>
Thu, 9 Feb 2017 20:20:05 +0000
(21:20 +0100)
src/libgame/gadgets.c
patch
|
blob
|
history
diff --git
a/src/libgame/gadgets.c
b/src/libgame/gadgets.c
index 98e46a5a2917e577e9159c9086ac4d5258190d1c..6b7d2592f435849b3bd8fb0f8798227278a18ca7 100644
(file)
--- a/
src/libgame/gadgets.c
+++ b/
src/libgame/gadgets.c
@@
-1758,7
+1758,7
@@
boolean HandleGadgets(int mx, int my, int button)
new_gi->event.type = GD_EVENT_INFO_ENTERING;
new_gi->callback_info(new_gi);
}
- else if (last_info_gi != NULL)
+ else if (last_info_gi != NULL
&& last_info_gi->mapped
)
{
last_info_gi->event.type = GD_EVENT_INFO_LEAVING;
last_info_gi->callback_info(last_info_gi);