summaryrefslogtreecommitdiff
path: root/src/resources/db
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-29 16:56:45 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-29 16:56:45 +0300
commit973606a6dbd201050b7d4cd0a6a782ff742056f6 (patch)
tree4f951409d7dbde5eb201bf3c6b46f777c3ce39b8 /src/resources/db
parentd528e58cdbd306a828882eb68855e81dda2a3e62 (diff)
downloadmanaplus-973606a6dbd201050b7d4cd0a6a782ff742056f6.tar.gz
manaplus-973606a6dbd201050b7d4cd0a6a782ff742056f6.tar.bz2
manaplus-973606a6dbd201050b7d4cd0a6a782ff742056f6.tar.xz
manaplus-973606a6dbd201050b7d4cd0a6a782ff742056f6.zip
Fix code style.
Diffstat (limited to 'src/resources/db')
-rw-r--r--src/resources/db/colordb.cpp5
1 files changed, 4 insertions, 1 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"));