summaryrefslogtreecommitdiff
path: root/apps/gui/icon.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/icon.h')
-rw-r--r--apps/gui/icon.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/gui/icon.h b/apps/gui/icon.h
index 1eefc48..14b66d3 100644
--- a/apps/gui/icon.h
+++ b/apps/gui/icon.h
@@ -23,9 +23,11 @@
/* Defines a type for the icons since it's not the same thing on
* char-based displays and bitmap displays */
#ifdef HAVE_LCD_BITMAP
- typedef const unsigned char * ICON;
+typedef const unsigned char * ICON;
+#define NOICON NULL
#else
- typedef short ICON;
+typedef short ICON;
+#define NOICON -1
#endif
#define CURSOR_CHAR 0x92