summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/icon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/widgets/icon.cpp')
-rw-r--r--src/guichan/widgets/icon.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/guichan/widgets/icon.cpp b/src/guichan/widgets/icon.cpp
index c85ada7c3..dca3400ba 100644
--- a/src/guichan/widgets/icon.cpp
+++ b/src/guichan/widgets/icon.cpp
@@ -56,16 +56,16 @@
namespace gcn
{
- Icon::Icon()
- : mImage(nullptr)
- , mInternalImage(false)
+ Icon::Icon() :
+ mImage(nullptr),
+ mInternalImage(false)
{
setSize(0, 0);
}
- Icon::Icon(const std::string& filename)
- : mImage(nullptr),
- mInternalImage(false)
+ Icon::Icon(const std::string& filename) :
+ mImage(nullptr),
+ mInternalImage(false)
{
mImage = Image::load(filename);
mInternalImage = true;
@@ -73,9 +73,9 @@ namespace gcn
mImage->getHeight());
}
- Icon::Icon(const Image* image)
- : mImage(image),
- mInternalImage(false)
+ Icon::Icon(const Image* image) :
+ mImage(image),
+ mInternalImage(false)
{
setSize(mImage->getWidth(),
mImage->getHeight());