summaryrefslogtreecommitdiff
path: root/src/guichan/image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/image.cpp')
-rw-r--r--src/guichan/image.cpp6
1 files changed, 4 insertions, 2 deletions
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);