diff options
author | rubidium <rubidium@openttd.org> | 2010-05-13 09:44:44 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-05-13 09:44:44 +0000 |
commit | 398418b8fa23ab59f5fc027a7dd6aeba9da4d7bb (patch) | |
tree | 54de30f4702263ee1489af162d6da840e35c0a87 /src/table/unicode.h | |
parent | 793b0f0736ac543fb1f6a7e9a4bfd678891e7374 (diff) | |
download | openttd-398418b8fa23ab59f5fc027a7dd6aeba9da4d7bb.tar.xz |
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
Diffstat (limited to 'src/table/unicode.h')
-rw-r--r-- | src/table/unicode.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/table/unicode.h b/src/table/unicode.h index 4c7f45107..862878e6f 100644 --- a/src/table/unicode.h +++ b/src/table/unicode.h @@ -14,10 +14,8 @@ struct DefaultUnicodeMapping { byte key; ///< Character index of sprite }; -enum { - CLRA = 0, ///< Identifier to clear all glyphs at this codepoint - CLRL = 1, ///< Identifier to clear glyphs for large font at this codepoint -}; +static const byte CLRA = 0; ///< Identifier to clear all glyphs at this codepoint +static const byte CLRL = 1; ///< Identifier to clear glyphs for large font at this codepoint /* Default unicode mapping table for sprite based glyphs. * This table allows us use unicode characters even though the glyphs don't |