summaryrefslogtreecommitdiff
path: root/newgrf_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'newgrf_gui.c')
-rw-r--r--newgrf_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf_gui.c b/newgrf_gui.c
index ad9aa5916..4ae734207 100644
--- a/newgrf_gui.c
+++ b/newgrf_gui.c
@@ -436,7 +436,7 @@ static void NewGRFWndProc(Window *w, WindowEvent *e)
if (WP(w, newgrf_d).sel == NULL) break;
GRFBuildParamList(buff, WP(w, newgrf_d).sel, lastof(buff));
- ShowQueryString(BindCString(buff), STR_NEWGRF_PARAMETER_QUERY, 63, 250, w->window_class, w->window_number, CS_ALPHANUMERAL);
+ ShowQueryString(BindCString(buff), STR_NEWGRF_PARAMETER_QUERY, 63, 250, w, CS_ALPHANUMERAL);
break;
}
}