summaryrefslogtreecommitdiff
path: root/src/smallmap_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-04-26 14:52:56 +0000
committerrubidium <rubidium@openttd.org>2009-04-26 14:52:56 +0000
commit53887e07bb8a6f815f48daffc3ac106496b2e694 (patch)
tree46b1264b6cbd4a5187e9361bab01ae4418503f56 /src/smallmap_gui.cpp
parentc21062a728fa37bb319c38b627d56f38150328f1 (diff)
downloadopenttd-53887e07bb8a6f815f48daffc3ac106496b2e694.tar.xz
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
Diffstat (limited to 'src/smallmap_gui.cpp')
-rw-r--r--src/smallmap_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp
index 2ec595ba5..2dbb03fe7 100644
--- a/src/smallmap_gui.cpp
+++ b/src/smallmap_gui.cpp
@@ -865,7 +865,7 @@ public:
} else {
/* Anything that is not an industry is using normal process */
GfxFillRect(x, y + 1, x + 8, y + 5, 0);
- DrawString(x + 11, x + COLUMN_WIDTH - 1, y, tbl->legend, TC_FROMSTRING);
+ DrawString(x + 11, x + COLUMN_WIDTH - 1, y, tbl->legend);
}
GfxFillRect(x + 1, y + 2, x + 7, y + 4, tbl->colour); // legend colour