Changeset - r8293:5e18781db363
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2008-01-15 00:48:14
rubidium@openttd.org
(svn r11857) -Fix: some compile time warnings.
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/widgets/dropdown_type.h
Show inline comments
 
@@ -28,6 +28,7 @@ public:
 
	StringID string; ///< String ID of item
 

	
 
	DropDownListStringItem(StringID string, int result, bool masked) : DropDownListItem(result, masked), string(string) {}
 
	virtual ~DropDownListStringItem() {}
 

	
 
	StringID String() const;
 
};
 
@@ -40,6 +41,7 @@ public:
 
	uint64 decode_params[10]; ///< Parameters of the string
 

	
 
	DropDownListParamStringItem(StringID string, int result, bool masked) : DropDownListStringItem(string, result, masked) {}
 
	virtual ~DropDownListParamStringItem() {}
 

	
 
	StringID String() const;
 
	void SetParam(uint index, uint64 value) { decode_params[index] = value; }
0 comments (0 inline, 0 general)