Tooltips: Unify the tooltip[] and list[] description tooltip display functions (...
[oweals/minetest.git] / src / itemgroup.h
index f91ccc221e3eea497a1abf5ef57066844ade4ef5..2206857fd48b652c466246418b820ec0f59bce28 100644 (file)
@@ -25,14 +25,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 
 typedef UNORDERED_MAP<std::string, int> ItemGroupList;
 
-static inline int itemgroup_get(const ItemGroupList &groups,
-               const std::string &name)
+static inline int itemgroup_get(const ItemGroupList &groups, const std::string &name)
 {
        ItemGroupList::const_iterator i = groups.find(name);
-       if(i == groups.end())
+       if (i == groups.end())
                return 0;
        return i->second;
 }
 
 #endif
-