diff options
author | Darkvater <darkvater@openttd.org> | 2006-12-30 01:17:53 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-12-30 01:17:53 +0000 |
commit | c87fcab77216fa2a3c8a5a334c32099665b1241d (patch) | |
tree | 4ef6719359384448b5674c8f954ba1a88987d16d /intro_gui.c | |
parent | ed2c8ecef5f2a6d62273ebccf0f82bad1f73ea4a (diff) | |
download | openttd-c87fcab77216fa2a3c8a5a334c32099665b1241d.tar.xz |
(svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a parent. If the
query has no parent (eg give money, rename waypoint), the global function
HandleOnEditText is used.
Diffstat (limited to 'intro_gui.c')
-rw-r--r-- | intro_gui.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/intro_gui.c b/intro_gui.c index 32e345aa4..364b81f5f 100644 --- a/intro_gui.c +++ b/intro_gui.c @@ -41,8 +41,6 @@ static const Widget _select_game_widgets[] = { { WIDGETS_END}, }; -extern void HandleOnEditText(WindowEvent *e); - static inline void SetNewLandscapeType(byte landscape) { _opt_newgame.landscape = landscape; @@ -88,8 +86,6 @@ static void SelectGameWndProc(Window *w, WindowEvent *e) case 16: HandleExitGameRequest(); break; } break; - - case WE_ON_EDIT_TEXT: HandleOnEditText(e); break; } } |