Changeset - r13089:a02941e52c9b
[Not reviewed]
master
0 1 0
smatz - 15 years ago 2009-09-21 17:06:19
smatz@openttd.org
(svn r17600) -Cleanup: remove unused variable
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/querystring_gui.h
Show inline comments
 
@@ -56,13 +56,12 @@ struct QueryString {
 
	void HandleEditBox(Window *w, int wid);
 
	HandleEditBoxResult HandleEditBoxKey(Window *w, int wid, uint16 key, uint16 keycode, Window::EventState &state);
 
};
 

	
 
struct QueryStringBaseWindow : public Window, public QueryString {
 
	char *edit_str_buf;
 
	char *orig_str_buf;
 
	const uint16 edit_str_size; ///< maximum length of string (in bytes), including terminating '\0'
 

	
 
	QueryStringBaseWindow(uint16 size) : Window(), edit_str_size(size)
 
	{
 
		assert(size != 0);
 
		this->edit_str_buf = CallocT<char>(size);
0 comments (0 inline, 0 general)