From eadb309dab5a828ee3c60c7f76e7e61d4bd60cf2 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 6 Feb 2013 11:39:32 +0100 Subject: [PATCH] Bugfix: Add missing parenthesis in function call. --- lib/base/utility.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/utility.cpp b/lib/base/utility.cpp index bee1105a5..42e194a7c 100644 --- a/lib/base/utility.cpp +++ b/lib/base/utility.cpp @@ -507,7 +507,7 @@ bool Utility::Glob(const String& pathSpec, const function& */ void Utility::WaitUntil(const function& predicate) { - while (!predicate) + while (!predicate()) Application::GetInstance()->ProcessEvents(); }