diff options
author | smatz <smatz@openttd.org> | 2009-09-20 23:11:01 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-09-20 23:11:01 +0000 |
commit | 114d48e492cc38644c0c020c6a30ab6c57179862 (patch) | |
tree | 80044362459c1f30b75b8eb8d9020f318d3ce5fb /src/misc/dbg_helpers.cpp | |
parent | e07efc2370b0c846f792a4f5d3f8695c21895583 (diff) | |
download | openttd-114d48e492cc38644c0c020c6a30ab6c57179862.tar.xz |
(svn r17596) -Codechange: constify some tables
Diffstat (limited to 'src/misc/dbg_helpers.cpp')
-rw-r--r-- | src/misc/dbg_helpers.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/misc/dbg_helpers.cpp b/src/misc/dbg_helpers.cpp index 4af243888..6a98680dc 100644 --- a/src/misc/dbg_helpers.cpp +++ b/src/misc/dbg_helpers.cpp @@ -14,7 +14,7 @@ #include "dbg_helpers.h" /** Trackdir & TrackdirBits short names. */ -static const char *trackdir_names[] = { +static const char * const trackdir_names[] = { "NE", "SE", "UE", "LE", "LS", "RS", "rne", "rse", "SW", "NW", "UW", "LW", "LN", "RN", "rsw", "rnw", }; @@ -37,7 +37,7 @@ CStrA ValueStr(TrackdirBits td_bits) /** DiagDirection short names. */ -static const char *diagdir_names[] = { +static const char * const diagdir_names[] = { "NE", "SE", "SW", "NW", }; @@ -51,7 +51,7 @@ CStrA ValueStr(DiagDirection dd) /** SignalType short names. */ -static const char *signal_type_names[] = { +static const char * const signal_type_names[] = { "NORMAL", "ENTRY", "EXIT", "COMBO", "PBS", "NOENTRY", }; |