diff options
author | rubidium <rubidium@openttd.org> | 2009-02-09 02:57:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-02-09 02:57:15 +0000 |
commit | 89e1afdaa0bfea874d86a8dc2590d49c257ec611 (patch) | |
tree | 211b57e3a81eed5791f5b6b9709252af6f7d8503 /src/misc_gui.cpp | |
parent | c7f3daacbf57e8213550f5bca3226565cbafe5e3 (diff) | |
download | openttd-89e1afdaa0bfea874d86a8dc2590d49c257ec611.tar.xz |
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r-- | src/misc_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 8ab73bad3..be1f8086c 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -1367,8 +1367,8 @@ static const Widget _save_dialog_widgets[] = { { WIDGETS_END}, }; -/* Colors for fios types */ -const TextColour _fios_colors[] = { +/* Colours for fios types */ +const TextColour _fios_colours[] = { TC_LIGHT_BLUE, TC_DARK_GREEN, TC_DARK_GREEN, TC_ORANGE, TC_LIGHT_BROWN, TC_ORANGE, TC_LIGHT_BROWN, TC_ORANGE, TC_ORANGE, TC_YELLOW }; @@ -1554,7 +1554,7 @@ public: for (uint pos = this->vscroll.pos; pos < _fios_items.Length(); pos++) { const FiosItem *item = _fios_items.Get(pos); - DoDrawStringTruncated(item->title, 4, y, _fios_colors[item->type], this->width - 18); + DoDrawStringTruncated(item->title, 4, y, _fios_colours[item->type], this->width - 18); y += 10; if (y >= this->vscroll.cap * 10 + widg->top + 1) break; } |