Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-08-07 12:13:34 +0000
committerStijn Buys <ingar@osirion.org>2011-08-07 12:13:34 +0000
commit219d005ad0643a0b94b3f02de563c9ebd91a2761 (patch)
treee4ab7372ea9c35032126d12ae32b173811848009
parent54c7e9b4b3f5c7afe0c50654ddfb316697fbcda9 (diff)
Corrected multi-line entity info.
-rw-r--r--src/core/info.cc3
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;
}