From 9d3b975bcb84ad1c61d628de2804751c0d0707dd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 31 May 2011 01:27:37 +0300 Subject: Fix code style and missing members initialisations. --- src/guichan/image.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/guichan/image.cpp') diff --git a/src/guichan/image.cpp b/src/guichan/image.cpp index fa3408a1b..8a9213f9e 100644 --- a/src/guichan/image.cpp +++ b/src/guichan/image.cpp @@ -73,11 +73,13 @@ namespace gcn return mImageLoader; } - Image* Image::load(const std::string& filename, bool convertToDisplayFormat) + Image* Image::load(const std::string& filename, + bool convertToDisplayFormat) { if (mImageLoader == NULL) { - throw GCN_EXCEPTION("Trying to load an image but no image loader is set."); + throw GCN_EXCEPTION("Trying to load an image but " + "no image loader is set."); } return mImageLoader->load(filename, convertToDisplayFormat); -- cgit v1.2.3-60-g2f50