diff options
Diffstat (limited to 'src/FbTk/ImageImlib2.cc')
-rw-r--r-- | src/FbTk/ImageImlib2.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/ImageImlib2.cc b/src/FbTk/ImageImlib2.cc index 2d3ff6c..b4ef415 100644 --- a/src/FbTk/ImageImlib2.cc +++ b/src/FbTk/ImageImlib2.cc | |||
@@ -52,7 +52,7 @@ ImageImlib2::ImageImlib2() { | |||
52 | 52 | ||
53 | // TODO: this are the potential candidates, | 53 | // TODO: this are the potential candidates, |
54 | // choose only sane ones. open for discussion | 54 | // choose only sane ones. open for discussion |
55 | static char* format_list[] = { | 55 | static const char* format_list[] = { |
56 | "PNG", // pngloader | 56 | "PNG", // pngloader |
57 | "JPEG", "JPG", "JFI", "JFIF", // jpegloader | 57 | "JPEG", "JPG", "JFI", "JFIF", // jpegloader |
58 | // "TIFF", "TIF", // tiffloader | 58 | // "TIFF", "TIF", // tiffloader |
@@ -67,7 +67,7 @@ ImageImlib2::ImageImlib2() { | |||
67 | NULL | 67 | NULL |
68 | }; | 68 | }; |
69 | 69 | ||
70 | char** format = NULL; | 70 | const char** format = NULL; |
71 | for(format = format_list; *format != NULL; format++) { | 71 | for(format = format_list; *format != NULL; format++) { |
72 | Image::registerType(*format, *this); | 72 | Image::registerType(*format, *this); |
73 | } | 73 | } |