diff options
| author | Tomer Shalev <shalev.tomer@gmail.com> | 2009-10-06 08:07:30 +0000 |
|---|---|---|
| committer | Tomer Shalev <shalev.tomer@gmail.com> | 2009-10-06 08:07:30 +0000 |
| commit | a092b9ce923b3355868f0f7e99bf1d7cf2f83181 (patch) | |
| tree | 930c0ad1b518107538a3f2edbdcebf913a342465 /firmware/export/lcd.h | |
| parent | 8b6161b24b642ce6ac7e74218de1f64728f747f9 (diff) | |
| download | rockbox-a092b9ce923b3355868f0f7e99bf1d7cf2f83181.zip rockbox-a092b9ce923b3355868f0f7e99bf1d7cf2f83181.tar.gz rockbox-a092b9ce923b3355868f0f7e99bf1d7cf2f83181.tar.bz2 rockbox-a092b9ce923b3355868f0f7e99bf1d7cf2f83181.tar.xz | |
Use macro to test viewport's RTL flag
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22978 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/lcd.h')
| -rw-r--r-- | firmware/export/lcd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index ddfba2a..2c66b5f 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h @@ -26,7 +26,9 @@ #include "cpu.h" #include "config.h" -#define VP_IS_RTL 0x01 +#define VP_FLAG_IS_RTL 0x01 + +#define VP_IS_RTL(vp) (((vp)->flags & VP_FLAG_IS_RTL) != 0) struct viewport { int x; |