summaryrefslogtreecommitdiff
path: root/firmware/export/lcd.h
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2007-12-06 17:09:24 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2007-12-06 17:09:24 +0000
commit485bbbdb309f0c343b5d37eb99a453de8116281a (patch)
treead92203389d73f51ac504f0f899c7ebddbb1257d /firmware/export/lcd.h
parent307b8f1b95e59b06821b1ebf3aa0e411fbf1ec24 (diff)
Make the "current line" value in the gradient style code zero-based, and an attempt at more understandable names and better comments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15886 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/lcd.h')
-rw-r--r--firmware/export/lcd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index 056186d5b6..de03222441 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -36,8 +36,8 @@
#define STYLE_MAXLN_MASK 0x000000FF
#define CURLN_PACK(x) (((x)<<8) & STYLE_CURLN_MASK)
#define CURLN_UNPACK(x) ((unsigned char)(((x)&STYLE_CURLN_MASK) >> 8))
-#define MAXLN_PACK(x) ((x) & STYLE_MAXLN_MASK)
-#define MAXLN_UNPACK(x) ((unsigned char)((x) & STYLE_MAXLN_MASK))
+#define NUMLN_PACK(x) ((x) & STYLE_MAXLN_MASK)
+#define NUMLN_UNPACK(x) ((unsigned char)((x) & STYLE_MAXLN_MASK))
#endif
#ifdef SIMULATOR