summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-11-13 21:47:07 +0000
committerfrosch <frosch@openttd.org>2012-11-13 21:47:07 +0000
commit2c22fe98ddae45d1553003a00a7ea0a301e9aa99 (patch)
tree2fd5045b9283a129c73b969e1ef686ecd17de93a /src/ai
parentc4d7c8dd427287d42374b5a83842f570642b100c (diff)
downloadopenttd-2c22fe98ddae45d1553003a00a7ea0a301e9aa99.tar.xz
(svn r24734) -Codechange: Move QueryStringBaseWindow::OnOSKInput to Window::OnEditboxChanged.
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp
index 060f6b946..8a8db5b5c 100644
--- a/src/ai/ai_gui.cpp
+++ b/src/ai/ai_gui.cpp
@@ -1354,7 +1354,7 @@ struct AIDebugWindow : public QueryStringBaseWindow {
return state;
}
- virtual void OnOSKInput(int wid)
+ virtual void OnEditboxChanged(int wid)
{
if (wid == WID_AID_BREAK_STR_EDIT_BOX) {
/* Save the current string to static member so it can be restored next time the window is opened. */