summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-11 16:29:32 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-11 16:29:32 +0300
commitc6a0486425aafdf766105da53e4304b42a417498 (patch)
treed97cb08af2de5f9924a1b46214f096ac91ebf57b
parentc38e43cee40cfd7cad2a92ea704aa26c23523b67 (diff)
downloadplus-c6a0486425aafdf766105da53e4304b42a417498.tar.gz
plus-c6a0486425aafdf766105da53e4304b42a417498.tar.bz2
plus-c6a0486425aafdf766105da53e4304b42a417498.tar.xz
plus-c6a0486425aafdf766105da53e4304b42a417498.zip
Fix code style.
-rw-r--r--src/gui/theme.cpp4
-rw-r--r--src/gui/widgets/itemcontainer.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index 15dafa997..0a1a930a9 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -461,8 +461,8 @@ Skin *Theme::readSkin(const std::string &filename)
else
{
- logger->log("Theme::readSkin(): Unknown part type '%s'",
- partType.c_str());
+ logger->log("Theme::readSkin(): Unknown part type "
+ "'%s'", partType.c_str());
}
}
else if (xmlStrEqual(partNode->name, BAD_CAST "option"))
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp
index 84313d64f..2cc80ee8b 100644
--- a/src/gui/widgets/itemcontainer.cpp
+++ b/src/gui/widgets/itemcontainer.cpp
@@ -130,7 +130,7 @@ class SortItemAmountFunctor
return (pair1->mItem->getInfo().getName()
< pair2->mItem->getInfo().getName());
}
- return c1 < c2;;
+ return c1 < c2;
}
} itemAmountSorter;
@@ -149,7 +149,7 @@ class SortItemTypeFunctor
return (pair1->mItem->getInfo().getName()
< pair2->mItem->getInfo().getName());
}
- return t1 < t2;;
+ return t1 < t2;
}
} itemTypeSorter;