summaryrefslogtreecommitdiff
path: root/src/guichan/image.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-31 01:27:37 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-31 01:27:37 +0300
commit9d3b975bcb84ad1c61d628de2804751c0d0707dd (patch)
treefe7494b1ecd561a40dc96d088c77d69b6d4ce13e /src/guichan/image.hpp
parent1d0044cbc81e547ad688a295288910d58e1a3fb1 (diff)
downloadmanaplus-9d3b975bcb84ad1c61d628de2804751c0d0707dd.tar.gz
manaplus-9d3b975bcb84ad1c61d628de2804751c0d0707dd.tar.bz2
manaplus-9d3b975bcb84ad1c61d628de2804751c0d0707dd.tar.xz
manaplus-9d3b975bcb84ad1c61d628de2804751c0d0707dd.zip
Fix code style and missing members initialisations.
Diffstat (limited to 'src/guichan/image.hpp')
-rw-r--r--src/guichan/image.hpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/guichan/image.hpp b/src/guichan/image.hpp
index 373a64884..e3bd27f69 100644
--- a/src/guichan/image.hpp
+++ b/src/guichan/image.hpp
@@ -82,9 +82,9 @@ namespace gcn
virtual ~Image();
/**
- * Loads an image by using the class' image laoder. All image loaders implemented
- * in Guichan return a newly instantiated image which must be deleted in
- * order to avoid a memory leak.
+ * Loads an image by using the class' image loader. All image loaders
+ * implemented in Guichan return a newly instantiated image which must
+ * be deleted in order to avoid a memory leak.
*
* NOTE: The functions getPixel and putPixel are only guaranteed to work
* before an image has been converted to display format.
@@ -94,7 +94,8 @@ namespace gcn
* to display, false otherwise.
* @since 0.5.0
*/
- static Image* load(const std::string& filename, bool convertToDisplayFormat = true);
+ static Image* load(const std::string& filename,
+ bool convertToDisplayFormat = true);
/**
* Gets the image loader used for loading images.