Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f61e9f
)
ecere:XInterface driver: fixed null pointer crash
author
Rejean Loyer
<rejean.loyer@gmail.com>
Sat, 3 Sep 2011 13:14:35 +0000
(09:14 -0400)
committer
Rejean Loyer
<rejean.loyer@gmail.com>
Sat, 3 Sep 2011 13:14:35 +0000
(09:14 -0400)
ecere/src/gui/drivers/XInterface.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/drivers/XInterface.ec
b/ecere/src/gui/drivers/XInterface.ec
index
0851101
..
535d12d
100644
(file)
--- a/
ecere/src/gui/drivers/XInterface.ec
+++ b/
ecere/src/gui/drivers/XInterface.ec
@@
-1481,7
+1481,7
@@
class XInterface : Interface
XWindowData windowData;
activeWindow = (uint)window.windowHandle;
- if(window == window.parent.activeChild) break;
+ if(window
.parent && window
== window.parent.activeChild) break;
incref window;
//if(window.creationActivation == activate)
{