make sure that we have function to call Signed-off-by: Amadeusz Sławiński <am...@asmblr.net> --- WINGs/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/WINGs/tree.c b/WINGs/tree.c index 457ca83..f664684 100644 --- a/WINGs/tree.c +++ b/WINGs/tree.c @@ -200,7 +200,7 @@ static WMTreeNode *findNodeInTree(WMTreeNode * aNode, WMMatchDataProc * match, v { if (match == NULL && aNode->data == cdata) return aNode; - else if ((*match) (aNode->data, cdata)) + else if (match && (*match) (aNode->data, cdata)) return aNode; if (aNode->leaves && limit != 0) { -- 1.9.3 -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.