summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/db/colordb.cpp5
-rw-r--r--src/resources/iteminfo.h6
-rw-r--r--src/resources/resourcemanager.h2
3 files changed, 9 insertions, 4 deletions
diff --git a/src/resources/db/colordb.cpp b/src/resources/db/colordb.cpp
index 62f7beef6..8913dab9f 100644
--- a/src/resources/db/colordb.cpp
+++ b/src/resources/db/colordb.cpp
@@ -99,7 +99,10 @@ void ColorDB::loadHair(const std::string &fileName,
node, "id", 0), ItemColor);
if (colors.find(id) != colors.end())
- logger->log("ColorDB: Redefinition of dye ID %d", toInt(id, int));
+ {
+ logger->log("ColorDB: Redefinition of dye ID %d",
+ toInt(id, int));
+ }
colors[id] = ItemColorData(id, XML::langProperty(node, "name", ""),
XML::getProperty(node, "value", "#FFFFFF"));
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h
index c022b650a..063d82958 100644
--- a/src/resources/iteminfo.h
+++ b/src/resources/iteminfo.h
@@ -284,8 +284,10 @@ class ItemInfo final
{ return mColorsList ? static_cast<int>(mColorsList->size()) : 0; }
int getIconColorsSize() const
- { return mIconColorsList ? static_cast<int>(mIconColorsList->size())
- : 0; }
+ {
+ return mIconColorsList ? static_cast<int>(mIconColorsList->size())
+ : 0;
+ }
std::string getColorName(const ItemColor idx) const;
std::string getColor(const ItemColor idx) const;
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h
index 6557afecf..c7c2cffe1 100644
--- a/src/resources/resourcemanager.h
+++ b/src/resources/resourcemanager.h
@@ -249,7 +249,7 @@ class ResourceManager final
void clearCache();
- void static init();
+ static void init();
private:
/**