summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-01-11 14:18:28 +0100
committerThomas Martitz <kugel@rockbox.org>2014-01-11 14:19:43 +0100
commit5d37d2579ae3a84175239e1b8f6c1ca39965e88c (patch)
tree1a4487457b4d5f1cf25aba171a3cedc7375dae37
parentce8aef737c3a0d6efa035c6ef634ba21ab0b6e42 (diff)
downloadrockbox-5d37d25.tar.gz
rockbox-5d37d25.tar.bz2
rockbox-5d37d25.zip
icons: When loading mono icons keep them in mono format.
This enables monochrome icons them to work with the invert line selector. Change-Id: Ic3e9219e93b4879166a10180e6067446a84a62bf
-rw-r--r--apps/gui/icon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/icon.c b/apps/gui/icon.c
index 73f37e5140..c20f1fe09a 100644
--- a/apps/gui/icon.c
+++ b/apps/gui/icon.c
@@ -178,7 +178,7 @@ static void load_icons(const char* filename, enum Iconset iconset,
enum screen_type screen)
{
int size_read;
- int bmpformat = (FORMAT_NATIVE|FORMAT_DITHER|FORMAT_TRANSPARENT);
+ int bmpformat = (FORMAT_ANY|FORMAT_DITHER|FORMAT_TRANSPARENT);
struct iconset *ic = &iconsets[iconset][screen];
int fd;