From 97a2f5bf2a3690112ea0ed17f19764b26cf20c59 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Mon, 25 Jun 2007 10:40:56 +0000 Subject: (svn r10321) -Codechange: refer to sign text by index --- src/signs_gui.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/signs_gui.cpp') 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; } } -- cgit v1.2.3-54-g00ecf