commit | 7b5ce736db36e79d5bc4a0c60fb93bc8a7f54754 | [log] [tgz] |
---|---|---|
author | William Wilgus <me.theuser@yahoo.com> | Wed Jul 25 20:16:02 2018 +0200 |
committer | William Wilgus <me.theuser@yahoo.com> | Wed Jul 25 20:16:02 2018 +0200 |
tree | 51db2f97d1aee3204b37d952bfde6c7ed3581417 | |
parent | 540637ed3334364fe9d1b54cdc96a52f59afda83 [diff] |
Fix playersim CHAR_WIDTH re-definition Change-Id: I49d2b3635c62277723665d0bdd68808cc82ca1a9
diff --git a/uisimulator/common/lcd-playersim.h b/uisimulator/common/lcd-playersim.h index 2225172..63e8b80 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