From ead28e174ebb32d6a6aebf780b5884a529ef4598 Mon Sep 17 00:00:00 2001 From: Teruaki Kawashima Date: Wed, 13 Jan 2010 12:55:52 +0000 Subject: 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 --- apps/plugins/mpegplayer/mpeg_misc.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'apps/plugins/mpegplayer/mpeg_misc.h') 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 -- cgit v1.1