summaryrefslogtreecommitdiff
path: root/src/signs_gui.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-06-25 10:40:56 +0000
committerpeter1138 <peter1138@openttd.org>2007-06-25 10:40:56 +0000
commitfd73ea2058fd25a75793907c2e7ff1986c17fcdc (patch)
treeb7c3b6c9ee370504bf4990b5c4ff9924900215b1 /src/signs_gui.cpp
parent5c6106cbcf78cb422eec7e989b8276b7939259d5 (diff)
downloadopenttd-fd73ea2058fd25a75793907c2e7ff1986c17fcdc.tar.xz
(svn r10321) -Codechange: refer to sign text by index
Diffstat (limited to 'src/signs_gui.cpp')
-rw-r--r--src/signs_gui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/signs_gui.cpp b/src/signs_gui.cpp
index 270bed1bc..67a2d628b 100644
--- a/src/signs_gui.cpp
+++ b/src/signs_gui.cpp
@@ -88,7 +88,8 @@ static void SignListWndProc(Window *w, WindowEvent *e)
if (si->owner != OWNER_NONE)
DrawPlayerIcon(si->owner, 4, y + 1);
- DrawString(22, y, si->str, 8);
+ SetDParam(0, si->index);
+ DrawString(22, y, STR_SIGN_NAME, 8);
y += 10;
}
}