diff options
-rw-r--r-- | include/Image.h | 2 | ||||
-rw-r--r-- | lib/Image.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/Image.h b/include/Image.h index 7aac45d..4508b68 100644 --- a/include/Image.h +++ b/include/Image.h @@ -21,7 +21,7 @@ class Image : public Buffer { void Fill(Color = Color(0, 0, 0)); virtual String GetName() const; virtual bool CanWrite() const; - bool SupportsFormat(unsigned int); + bool SupportsFormat(unsigned int); private: unsigned int x, y; diff --git a/lib/Image.cc b/lib/Image.cc index 8a87a0e..4dc496e 100644 --- a/lib/Image.cc +++ b/lib/Image.cc @@ -169,7 +169,7 @@ unsigned char * Image::GetBuffer() { bool Image::SupportsFormat(unsigned int f) { switch(f) { - case FORMAT_TGA_BASIC: + case FORMAT_TGA_BASIC: return true; case FORMAT_JPEG: #ifndef HAVE_LIBJPEG |