diff options
author | Stijn Buys <ingar@osirion.org> | 2011-08-07 12:13:34 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-08-07 12:13:34 +0000 |
commit | 219d005ad0643a0b94b3f02de563c9ebd91a2761 (patch) | |
tree | e4ab7372ea9c35032126d12ae32b173811848009 | |
parent | 54c7e9b4b3f5c7afe0c50654ddfb316697fbcda9 (diff) |
Corrected multi-line entity info.
-rw-r--r-- | src/core/info.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |