Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-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;
}