Changeset - r15481:740ee3317277
[Not reviewed]
master
0 1 0
terkhen - 14 years ago 2010-07-14 12:01:40
terkhen@openttd.org
(svn r20140) -Fix: Initialize the state of OnKeyPress at the world generation window (Zuu).
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/genworld_gui.cpp
Show inline comments
 
@@ -688,7 +688,7 @@ struct GenerateLandscapeWindow : public 
 

	
 
	virtual EventState OnKeyPress(uint16 key, uint16 keycode)
 
	{
 
		EventState state;
 
		EventState state = ES_NOT_HANDLED;
 
		this->HandleEditBoxKey(GLAND_RANDOM_EDITBOX, key, keycode, state);
 
		/* the seed is unsigned, therefore atoi cannot be used.
 
		 * As UINT32_MAX is a 'magic' value (use random seed) it
0 comments (0 inline, 0 general)