diff options
author | markt <markt> | 2007-07-24 12:12:45 (GMT) |
---|---|---|
committer | markt <markt> | 2007-07-24 12:12:45 (GMT) |
commit | 363764db5b36dbffcc019cec8ffb405d357d7130 (patch) | |
tree | 6523b122a926e06abfa9b96f3b31fffe4868495d /src/FbTk/ImageImlib2.cc | |
parent | 9545871f7a0d44edf400715cd8cdd21d78f36884 (diff) | |
download | fluxbox-363764db5b36dbffcc019cec8ffb405d357d7130.zip fluxbox-363764db5b36dbffcc019cec8ffb405d357d7130.tar.bz2 |
fix ToggleDecor for fullscreen and decorationless windows, plus some other cleanup
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 | } |