From fd73ea2058fd25a75793907c2e7ff1986c17fcdc 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/main_gui.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main_gui.cpp') diff --git a/src/main_gui.cpp b/src/main_gui.cpp index 7ad547d94..bd97f17de 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -346,7 +346,8 @@ void ShowRenameSignWindow(const Sign *si) { _rename_id = si->index; _rename_what = 0; - ShowQueryString(si->str, STR_280B_EDIT_SIGN_TEXT, 30, 180, NULL, CS_ALPHANUMERAL); + SetDParam(0, si->index); + ShowQueryString(STR_SIGN_NAME, STR_280B_EDIT_SIGN_TEXT, 30, 180, NULL, CS_ALPHANUMERAL); } void ShowRenameWaypointWindow(const Waypoint *wp) -- cgit v1.2.3-54-g00ecf