From 219d005ad0643a0b94b3f02de563c9ebd91a2761 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 7 Aug 2011 12:13:34 +0000 Subject: Corrected multi-line entity info. --- src/core/info.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/info.cc') diff --git a/src/core/info.cc b/src/core/info.cc index 60a88f9..ee708e5 100644 --- a/src/core/info.cc +++ b/src/core/info.cc @@ -241,8 +241,9 @@ Info *Info::find(const Info *info) return 0; for (Registry::iterator it = info_registry.begin(); it != info_registry.end(); it++) { - if (info == (*it)); + if (info == (*it)) { return *it; + } } return 0; } -- cgit v1.2.3