diff options
author | Thomas Martitz <kugel@rockbox.org> | 2014-01-11 14:18:28 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-01-11 14:19:43 +0100 |
commit | 5d37d2579ae3a84175239e1b8f6c1ca39965e88c (patch) | |
tree | 1a4487457b4d5f1cf25aba171a3cedc7375dae37 | |
parent | ce8aef737c3a0d6efa035c6ef634ba21ab0b6e42 (diff) |
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.c | 2 |
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; |