summaryrefslogtreecommitdiff
path: root/src/genworld_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-04-26 15:26:19 +0000
committerrubidium <rubidium@openttd.org>2009-04-26 15:26:19 +0000
commit7dd677ced22abb688b2ed69f99faed211f3554b1 (patch)
treedf4ab2d279bb9ba905f4c04a0e80fa48cbeaa15c /src/genworld_gui.cpp
parent3301afa5c3b2fe2bf24ef7ab9333df8a88334fb9 (diff)
downloadopenttd-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.cpp4
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);
}