summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2018-07-25 20:16:02 +0200
committerWilliam Wilgus <me.theuser@yahoo.com>2018-07-25 20:16:02 +0200
commit7b5ce736db36e79d5bc4a0c60fb93bc8a7f54754 (patch)
tree51db2f97d1aee3204b37d952bfde6c7ed3581417
parent540637ed3334364fe9d1b54cdc96a52f59afda83 (diff)
downloadrockbox-7b5ce736db36e79d5bc4a0c60fb93bc8a7f54754.tar.gz
rockbox-7b5ce736db36e79d5bc4a0c60fb93bc8a7f54754.zip
Fix playersim CHAR_WIDTH re-definition
Change-Id: I49d2b3635c62277723665d0bdd68808cc82ca1a9
-rw-r--r--uisimulator/common/lcd-playersim.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/uisimulator/common/lcd-playersim.h b/uisimulator/common/lcd-playersim.h
index 2225172c4e..63e8b80eba 100644
--- a/uisimulator/common/lcd-playersim.h
+++ b/uisimulator/common/lcd-playersim.h
@@ -21,6 +21,11 @@
#define ICON_HEIGHT 12
#define CHAR_HEIGHT 8
+
+#ifdef CHAR_WIDTH
+ #undef CHAR_WIDTH
+#endif
+
#define CHAR_WIDTH 6
#define CHAR_PIXEL 2
#define BORDER_MARGIN 1