diff options
| author | Teruaki Kawashima <teru@rockbox.org> | 2010-01-13 12:55:52 +0000 |
|---|---|---|
| committer | Teruaki Kawashima <teru@rockbox.org> | 2010-01-13 12:55:52 +0000 |
| commit | ead28e174ebb32d6a6aebf780b5884a529ef4598 (patch) | |
| tree | 567cc8b7385471b24f10be95ee0afb84b74a8ef1 /apps/plugins/mpegplayer/mpeg_misc.h | |
| parent | a1b97086c5a19e1035f32a6486b00aeb559ba0bb (diff) | |
| download | rockbox-ead28e174ebb32d6a6aebf780b5884a529ef4598.zip rockbox-ead28e174ebb32d6a6aebf780b5884a529ef4598.tar.gz rockbox-ead28e174ebb32d6a6aebf780b5884a529ef4598.tar.bz2 rockbox-ead28e174ebb32d6a6aebf780b5884a529ef4598.tar.xz | |
mpegplayer:
* use upper case for enum constants.
* rename MPEG_START_TIME_SCROLL_DOWN/SCROLL_UP to MPEG_START_TIME_LEFT2/RIGHT2 as they are equivalent to MPEG_START_TIME_LEFT/RIGHT.
* simplify some code. no functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24224 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/mpeg_misc.h')
| -rw-r--r-- | apps/plugins/mpegplayer/mpeg_misc.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/plugins/mpegplayer/mpeg_misc.h b/apps/plugins/mpegplayer/mpeg_misc.h index aeaba56..7bac7eb 100644 --- a/apps/plugins/mpegplayer/mpeg_misc.h +++ b/apps/plugins/mpegplayer/mpeg_misc.h @@ -31,16 +31,16 @@ /* Generic states for when things are too simple to care about naming them */ enum state_enum { - state0 = 0, - state1, - state2, - state3, - state4, - state5, - state6, - state7, - state8, - state9, + STATE0 = 0, + STATE1, + STATE2, + STATE3, + STATE4, + STATE5, + STATE6, + STATE7, + STATE8, + STATE9, }; /* Macros for comparing memory bytes to a series of constant bytes in an |