diff options
author | rubidium <rubidium@openttd.org> | 2009-04-26 15:26:19 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-04-26 15:26:19 +0000 |
commit | 7dd677ced22abb688b2ed69f99faed211f3554b1 (patch) | |
tree | df4ab2d279bb9ba905f4c04a0e80fa48cbeaa15c /src/genworld_gui.cpp | |
parent | 3301afa5c3b2fe2bf24ef7ab9333df8a88334fb9 (diff) | |
download | openttd-7dd677ced22abb688b2ed69f99faed211f3554b1.tar.xz |
(svn r16162) -Codechange: remove needless TC_ colours from DrawString when they are part of strings and add some colours to a few strings.
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r-- | src/genworld_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index 23d6c994b..bd2ed937a 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -642,9 +642,9 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow { SetDParam(0, this->x); SetDParam(1, this->y); } - int right = DrawString(0, 326, 91, STR_HEIGHTMAP_SIZE, TC_BLACK, SA_RIGHT); + int right = DrawString(0, 326, 91, STR_HEIGHTMAP_SIZE, TC_FROMSTRING, SA_RIGHT); - DrawString( 12, 114, 91, STR_HEIGHTMAP_NAME, TC_BLACK); + DrawString( 12, 114, 91, STR_HEIGHTMAP_NAME); SetDParamStr(0, this->name); DrawString(114, right - 5, 91, STR_JUST_RAW_STRING, TC_ORANGE); } |